Re: Apache and Wordpress file permissions options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jbrose@xxxxxxx>:
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 <dferradal@xxxxxxxxx> wrote:



2015-08-11 17:22 GMT+02:00 Rose, John B <jbrose@xxxxxxx>:
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 …


Any pros/cons regarding these Apache modules?

  • suPHP, runs through php-cgi, currently unmaintained since 2013.
  • mod_ruid2, apache module, simple but effective.
  • mpm-itk, apache module.
  • PHP-FPM, 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



--
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux