Home >Backend Development >PHP Tutorial >PHP环境搭建要点
工具下载:
Apache:http://httpd.apache.org/download.cgi
PHP:http://windows.php.net/download/
MYSQL:http://dev.mysql.com/downloads/
PHP环境搭建要点主要在于配置文件的修改:
1、Apache端口修改:
http.conf文件:46行->Listen 80,172行->ServerName localhost:80。
2、Apache服务器执行WEB主程序的目录:
http.conf文件:DocumentRoot "path",
3、Apache支持PHP:
http.conf文件:添加
LoadModule php5_module "phppath/php5apache2_2.dll"
PHPIniDir "phppath"
AddType application/x-httpd-php .php .html .htm
4、