Re: Thread-safe php 7.2 module
| From: | Ashley Sheridan | Date: | Tue, 13 Oct 2020 20:11:10 +0000 |
| Subject: | Re: Thread-safe php 7.2 module | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327340@lists.php.net to get a copy of this message | ||
On October 10, 2020 6:58:56 AM UTC, Rene Veerman <rene.veerman.netherlands@gmail.com> wrote:
>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
>>
>>
>>
RHEL 8, it's literally the first line of the email ;-)
Thanks,
Ash