The libphp5.so module cannot be added after PHPMake.

Source: Internet
Author: User
After PHPMake, The libphp5.so module-Linux Enterprise Application-Linux server application information cannot be added. The following is a detailed description. Problem: apache cannot load the plug-in php module. & apache cannot start itself after loading the plug-in php module.

Solution: This is caused by improper SELinux security policy configuration. related Apache/SELinux policy adjustment documents are available on the official website of Fedora Core. if it is too troublesome, you can directly modify/etc/selinux/config to disable SELinux. however, I deleted all SELinux-related programs in the add and delete programs. Then, go to system> Management and check whether it can be opened. If it cannot be opened, it will be OK.

Problem: An error occurred while parsing the php page in apache after the php module is loaded successfully.

Solution: This is caused by improper setting of the file attributes of the htdocs directory and its files.

# Chmod-R 755/usr/local/apache2/htdocs

I directly changed the file attributes one by one.

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.