Home > Backend Development > PHP Tutorial > PHP 开发环境配置(测试开发环境)_PHP

PHP 开发环境配置(测试开发环境)_PHP

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 12:20:03
Original
1239 people have browsed it

1. 创建一个文件(test.php)

我的路径如下

F:\Projects\PHPTest\test.php

2. 用记事本打开Apache配置文件

D:\Program Files\Zend\Apache2\conf\httpd.conf

在最后一行加入

Alias /Test "F:\Projects\PHPTest"


  Order deny,allow
  Allow from all

3. 重新启动Apache(通过任务通知栏中的Apache Monitor) 

4. 在浏览器中打开http://localhost/test.php,如果开发环境正确配置,则会显示页面如下。

ccc

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template