PHP development environment configuration (test development environment)

  • 2020-03-31 20:43:03
  • OfStack

1. Create a file (test.php)

My path is as follows

F: \ Projects \ PHPTest \ test PHP

2. Open the Apache configuration file with notepad

D: \ \ Program Files \ Zend \ Apache2 \ conf \ HTTPD. Conf

Add it on the last row

Alias/Test "F: \ Projects \ PHPTest"

< The Location/Test>
  The Order deny and allow
  Allow the from all
< / Location>

Restart Apache(via the Apache Monitor in the task notification bar) 

4. Open http://localhost/test.php in the browser, if the development environment configuration, right will display the page as below.


Related articles: