Re: Thread-safe php 7.2 module
| From: | Rene Veerman | Date: | Sat, 10 Oct 2020 06:58:56 +0000 |
| Subject: | Re: Thread-safe php 7.2 module | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327339@lists.php.net to get a copy of this message | ||
what operating system are you using?
On Fri, Oct 9, 2020 at 4:43 PM David Gilbert <dgilbert.france@gmail.com>
wrote:
> 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
>
>
>