search
Homephp教程php手册PHP 开发环境配置(测试开发环境)

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

Jun 13, 2016 pm 12:16 PM
phpcreatedevelopdocumenttestenvironmentpathConfiguration

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,如果开发环境正确配置,则会显示页面如下。

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools