Why would you use prefork if php is processed by something else? Why still force httpd to use a non-threaded model?
2015-08-11 18:43 GMT+02:00 Rose, John B <[email protected]>: > We are using Apache 2.2, so we are using prefork. > > So no problems using PHp-fpm and prefork on Apache 2.2? > > Sent from my iPad > > On Aug 11, 2015, at 11:36 AM, Daniel <[email protected]> wrote: > > > > 2015-08-11 17:22 GMT+02:00 Rose, John B <[email protected]>: > >> Any recommendations on the best method to accomplish individual users >> Wordpress installations maintaining their owner:group instead of changing >> to the owner:group of the Apache process? >> >> Not a Wordpress multi-user installation. Each user installs their own >> Wordpress. >> >> Looking at the Wordpress site … >> >> https://codex.wordpress.org/Changing_File_Permissions >> >> Any pros/cons regarding these Apache modules? >> >> >> - suPHP <http://www.suphp.org/Home.html>, runs through php-cgi, >> currently unmaintained since 2013. >> - mod_ruid2 <https://github.com/mind04/mod-ruid2>, apache module, >> simple but effective. >> - mpm-itk <http://mpm-itk.sesse.net/>, apache module. >> - PHP-FPM <http://php-fpm.org/>, a FastCGI server with more extensive >> configuration. >> >> Thanks for your time >> > > Hello, > > You should just use php-fpm, it allows you to define different "pools" > with their own setup, including user and ip:port/unix socket, and it's the > way php is supposed to be "processed" nowadays, by its own daemon. > > php-fpm is also ideal because it rids the burden of php from apache HTTPD, > while this one can use the most performant mpm (event) to deal with its own > work. > > To each their own! > > > -- > *Daniel Ferradal* > IT Specialist > > email dferradal at gmail.com > linkedin es.linkedin.com/in/danielferradal > > -- *Daniel Ferradal* IT Specialist email dferradal at gmail.com linkedin es.linkedin.com/in/danielferradal
