Home >Backend Development >PHP Tutorial >PHP development environment configuration (test development environment)_PHP tutorial
1. Create a file (test.php)
My path is as follows
F:ProjectsPHPTesttest.php
2. Open the Apache configuration file with Notepad
D:Program FilesZendApache2confhttpd.conf
Add
in the last lineAlias /Test "F:ProjectsPHPTest"
Order deny,allow
Allow from all
3. Restart Apache (via Apache Monitor in the task notification bar)
4. Open http://localhost/test.php in the browser. If the development environment is configured correctly, the following page will be displayed.