Thread-safe php 7.2 module
| From: | David Gilbert | Date: | Fri, 09 Oct 2020 14:42:42 +0000 |
| Subject: | Thread-safe php 7.2 module | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327338@lists.php.net to get a copy of this message | ||
Hello,
I have a RHEL 8 server running Apache 2.4.37 and I want to use embedded
<?php ... ?> scripts in html files.
The installed version of php is 7.2.24 and the phpinfo() output shows
'Thread Safety' as 'disabled'.
In the /etc/httpd/conf.modules.d/15-php.conf file, the LoadModule line for
libphp7.so is conditioned by the presence of prefork.c.
If I comment out that condition, attempting to start Apache fails with the
error Apache is running a threaded MPM, but your PHP Module is not compiled
to be threadsafe
In /usr/lib64/httpd/modules, the only php module is libphp7.so
Can anyone tell me where I can find a thread-safe version of this library?
I would like to avoid having to build it but, if necessary, is there
documentation available for the build process?
Thanks in advance,
David Gilbert