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-ssh…
Notice, mod_php in ZTS mode is not recommended per upstream documentation:
http://php.net/manual/en/install.unix.apache2.phphttp://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.