How to solve php execution in CentOS

Source: Internet
Author: User
In CentOS, I just learned how to run php in linux and php. I chose the centos system and phpapache and mysql. after installation, I enabled httpd and entered http: // after 127.0.0.1/, the html page can be executed, but php cannot. in httpd. execution of php in CentOS
I just learned about linux and php. when I installed centos, I chose to install php apache and mysql. after installation, I started httpd and entered http: // after 127.0.0.1/, the html page can be executed, but php cannot,
Added LoadModule php5_module modules/libphp5.so to httpd. cong.
And AddType application/x-httpd-php. php, but run index. php has nothing, and no error is reported. please give us some advice on which php can be executed without proper configuration. thank you.

------ Solution --------------------
Php interpreter is not installed. it should be because PHP is not installed properly...
------ Solution --------------------
I don't know how your LAMP environment is installed!

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.