PHP development environment configuration (test development environment)_PHP tutorial

WBOY
Release: 2016-07-21 15:38:45
Original
795 people have browsed it

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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!