After configuring the PHP operating environment, beginners need to check whether the environment is configured successfully. So how to check whether the PHP operating environment is configured successfully?
In fact, the steps to detect the PHP running environment are very simple:
Step one: First, make sure that the PHP running environment has been configured.
Step 2: Create a new info.php file under the website directory (www)
Step 3: Write a script in the info.php file
Finally Step one: Enter: 127.0.0.1 or localhost
in the browser address bar. When a page appears, it means that you have successfully configured the environment.
Recommended video tutorial:PHP video tutorial
The above is the detailed content of How to test the php running environment. For more information, please follow other related articles on the PHP Chinese website!