Re: Thread-safe php 7.2 module

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

 



what operating system are you using?


On Fri, Oct 9, 2020 at 4:43 PM David Gilbert <dgilbert.france@xxxxxxxxx> 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

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux