Fedora 27, httpd in thread mode by default, need for ZTS php modules

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

 



Hi,

Starting with Fedora 27, the Apache Webserver is now configured by
default to use event MPM (threaded)

Which means ZTS mod_php will be used.

Some packaged extensions only provide the NTS build, so won't be
available in web context (using httpd + mod_php), but only when

- php-fpm is used
- httpd is configured to used prefork MPM (not threaded)

So, probably worth investigating if the ZTS module can be enabled during
the build.

Example, for ssh2 extension:
http://pkgs.fedoraproject.org/cgit/rpms/php-pecl-ssh2.git/diff/php-pecl-ssh2.spec?id=fa751a1669b70ba39bf25641dd81820784321aa0


Notice, mod_php in ZTS mode is not recommended per upstream documentation:
http://php.net/manual/en/install.unix.apache2.php
http://php.net/manual/en/faq.installation.php#faq.installation.apache2

So php-fpm should be preferred.

So web applications should not require "php" (or mod_php) but php(httpd)
instead (provided by both php and php-fpm packages).


Remi.
_______________________________________________
php-devel mailing list -- php-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to php-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux