Home > Operation and Maintenance > Apache > apache cannot open php file

apache cannot open php file

王林
Release: 2019-10-17 11:45:01
Original
3274 people have browsed it

apache cannot open php file

Apache is only responsible for processing requests and returning responses. It does not have the function of parsing PHP itself.

Solution:

You need to install PHP, allow Apache to call PHP (install the PHP module), and write the configuration file.

When requesting a PHP file in this way, Apache recognizes that it is a PHP file, and then hands it to the PHP module for processing. After processing, Apache will generate a response from the PHP processed output information and return it to your browser.

Recommended tutorial: apache tutorial

The above is the detailed content of apache cannot open php file. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template