Home >Backend Development >PHP Problem >What should I do if wamp cannot parse php files?

What should I do if wamp cannot parse php files?

藏色散人
藏色散人Original
2022-11-04 09:16:361243browse

The solution to wamp's inability to parse the php file: 1. Find and open the php.ini file; 2. Set the value of the "short_open_tag=off" option in php.ini to "on"; 3. Restart Just download PHP.

What should I do if wamp cannot parse php files?

The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.

What should I do if wamp cannot parse the php file?

Specific problem description:

My wamp has been installed, and everything else can be used including mysql, etc., but it is the written php file parsing No! ! ! ! What is displayed directly through the browser is the source code of php!

What should I do if wamp cannot parse php files?

Solution:

You try setting short_open_tag=off in php.ini to on

Then restart PHP

What should I do if wamp cannot parse php files?

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What should I do if wamp cannot parse php files?. 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