PHP Set Kit Server XAMPP installation Tutorial (for beginners who first play PHP), XAMPP installation using
Environment construction
Software:
XAMPP Download Address: https://www.apachefriends.org/zh_cn/index.html (recommended to use Thunder download, otherwise speed may be unbearable)
1. Installation
After installation open See the following:
2. Turn on the service
Start Apache MySQL Service
3. Access Address
To browser input: http://127.0.0.1/xampp/splash.php
See the following interface: The PHP environment has been built
Write HelloWorld:
To your installation path: (I installed on the D drive)
Open folder to see
The PHP language is placed by default in the Htdocs directory:
Create a new file under the Htdocs folder helloworld.php
Open the helloworld.php file and enter the following code:
Copy the Code code as follows:
<?php
echo "HelloWorld,"; Output string HelloWorld
echo "This is my firstphp script."; Ditto
Echo Phpinfo (); Phpinfo () Output PHP environment information for system functions
?>
Open Address field input: 127.0.0.1/helloworld.php
See the following screen:
This is your first HelloWorld.
http://www.bkjia.com/PHPjc/1011247.html www.bkjia.com true http://www.bkjia.com/PHPjc/1011247.html techarticle PHP Set Kit server XAMPP installation tutorial (for the first time to play PHP novice), XAMPP installation using the environment to build software: Xampp download address: https://www.apachefriends.org/zh_cn/...