On October 10, 2020 6:58:56 AM UTC, Rene Veerman <rene.veerman.netherlands@xxxxxxxxx> wrote: >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 >> >> >> RHEL 8, it's literally the first line of the email ;-) Thanks, Ash