Solution to the problem that php echo cannot output: 1. Install and configure the PHP running environment; 2. Set the file suffix to ".php"; 3. Enter "http://localhost/" in the browser test.php".
#The operating environment of this article: Windows7 system, PHP7.1, Dell G3 computer.
What should I do if php echo cannot output?
Problem description:
As shown in the figure, PHP echo cannot output ?
Solution:
First, you must install and configure the PHP running environment, such as wampserver
Then open wamp and copy this file to wamp installation Directory/www
Note: This file needs to have .php as the suffix
Then enter http://localhost/test.php
test in the browser. php is the file name of your current file
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What to do if php echo cannot output. For more information, please follow other related articles on the PHP Chinese website!