Problem PHP does not support worker working mode error

Source: Internet
Author: User

PHP does not support worker working mode error


[[Email protected] ~]# service httpd stop


[Wed June 14 16:25:23 2017] [Crit]  Apache is running a threaded MPM, but your the PHP Module is isn't compiled to be threadsafe.  You need to recompile PHP. Pre-configuration failed


has been resolved


[Email protected] ~]# cd/usr/local/httpd/conf/


[Email protected] conf]# vim httpd.conf


<ifmodule dir_module>


DirectoryIndex index.html


#index. php


</IfModule>


# Example:


# LoadModule Foo_module modules/mod_foo.so


#LoadModule Php5_module modules/libphp5.so


#


#AddType application/x-httpd-php. php


<ifmodule!mpm_netware_module>


<ifmodule!mpm_winnt_module>


This article from "Trikaye" blog, declined reprint!

Problem PHP does not support worker working mode error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.