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

What to do if php echo cannot output

藏色散人
Release: 2023-03-14 06:18:01
Original
3438 people have browsed it

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!

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