Home >Backend Development >PHP Problem >What to do if php echo cannot output

What to do if php echo cannot output

藏色散人
藏色散人Original
2021-11-24 09:26:413437browse

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".

What to do if php echo cannot output

#The operating environment of this article: Windows7 system, PHP7.1, Dell G3 computer.

What should I do if php echo cannot output?

Problem description:

What to do if php echo cannot output

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!

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