Apache использует многопоточный MPM, но ваш PHP-модуль не скомпилирован для обеспечения потокобезопасности.Apache

Ответить Пред. темаСлед. тема
Гость
 Apache использует многопоточный MPM, но ваш PHP-модуль не скомпилирован для обеспечения потокобезопасности.

Сообщение Гость »


Я использую 4.18.0-348.7.1.el8_5.x86_64 с
Я использую следующую версию Apapche

Код: Выделить всё

 httpd -v
Server version: Apache/2.4.37 (centos)
Server built:   Nov 12 2021 04:57:27
I have the following portion of config

Код: Выделить всё

cat /etc/httpd/conf/httpd.conf | grep -v "#"

ServerRoot "/etc/httpd"

Listen 80

LoadModule php7_module modules/libphp7.so
Include conf.modules.d/*.conf

User apache
Group apache

ServerAdmin root@localhost


AllowOverride none
Require all denied


DocumentRoot "/var/www/html"


AllowOverride None
Require all granted



Options Indexes FollowSymLinks

AllowOverride None

Require all granted



DirectoryIndex index.html



Require all denied


ErrorLog "logs/error_log"

LogLevel warn


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio


CustomLog "logs/access_log" combined




ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"




AllowOverride None
Options None
Require all granted



TypesConfig /etc/mime.types

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

AddType application/x-hhtp-php .php  .html
AddType text/html .shtml .html
AddOutputFilter INCLUDES .shtml


AddDefaultCharset UTF-8


MIMEMagicFile conf/magic


EnableSendfile on

IncludeOptional conf.d/*.conf
I am trying to add php support for my index.html file.
When I start the service I am getting the following error.

Код: Выделить всё

Mar 11 12:34:10 CentOs_RADIUS httpd[59830]: [Mon Mar 11 12:34:10.793520 2024] [php7:crit] [pid 59830:tid 140288103422272] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to rec>
Mar 11 12:34:10 CentOs_RADIUS httpd[59830]: AH00013: Pre-configuration failed
I went over many online articles and tryed somelution listed there but non of it helped.
Could you please give me advice ehat I can try here?


Источник: https://stackoverflow.com/questions/781 ... to-be-thre
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Apache»