Home  >  Article  >  Backend Development  >  How to solve the problem that php cannot be compiled

How to solve the problem that php cannot be compiled

藏色散人
藏色散人Original
2021-02-25 09:52:213155browse

The solution to the problem that php cannot be compiled: first find and open the Apache configuration file; then load the PHP module in the file; and finally specify the processing method of the PHP file.

How to solve the problem that php cannot be compiled

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

If this problem occurs

Go to the Apache configuration file

#Add these lines of code (the example is php5, just write your own A few)

Don’t forget to restart Apache

It will work [Recommended learning: "PHP Video Tutorial"]

The above is the detailed content of How to solve the problem that php cannot be compiled. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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