Home >Backend Development >PHP Tutorial >PHP development environment configuration (test development environment)_PHP tutorial

PHP development environment configuration (test development environment)_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:38:45831browse

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 line

Alias ​​/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.

ccc

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321671.htmlTechArticle1. Create a file (test.php) My path is as follows: F:ProjectsPHPTesttest.php 2. Use Notepad Open the Apache configuration file D:Program FilesZendApache2confhttpd.conf at the last...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn