Home >php教程 >php手册 >安装与配置PHP,让apache和php一起工作

安装与配置PHP,让apache和php一起工作

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:25:25871browse


安装与配置PHP
/software/php-3.0.14-win32.zip
安装于c:php3
配置:把c:php3php3.ini-inst文件copy为php3.ini并修改
设apache服务器的主目录 doc_root=C:apachehtdocs
extension_dir=c:php3
将php3.ini copy到c:windows下
让apache和php一起工作
找到httpd.conf中改为

AllowOverride None
Options None

并在文件末尾加上几句:
ScriptAlias /php3/ "c:/php3山/"
AddType applicationx-httpd-php3 .php3 .php .phtml
Action application/x-httpd-php3 "/php3/php.exe"

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
Previous article:ZendOptimizer配置指南Next article:php的汉字转换GBK-Big5