Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that php echo can't output

Shulou Source: shulou.com Published: 2022-06-02 11:41:38 12月02日 Update

This article mainly introduces "how to solve the problem that php echo cannot output". In daily operation, I believe many people have doubts about how to solve the problem that php echo cannot output. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt that "php echo can not output how to solve"! Next, please follow the editor to study!

Php echo can not output solutions: 1, install and configure the PHP running environment; 2, set the file suffix name to ".php"; 3, enter "http://localhost/test.php"" in the browser.

This article operating environment: Windows7 system, PHP7.1, Dell G3 computer.

What if php echo cannot output?

Problem description:

As shown in the picture, PHP echo can't output?

Solution:

First of all, be sure to install and configure the PHP runtime environment, such as wampserver

Then open wamp and copy the file to the wamp installation directory / www

Note: this file needs to be suffixed with .php

Then enter http://localhost/test.php in the browser

Test.php is the file name of your current file

At this point, the study on "php echo can not output how to solve" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Output files learning environment methods suffixes more browsers questions help browsing input running configuration utility next what to do copy file name article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Technology Apple OPPO Reno Shulou Information