当前位置:首页 > 服务器技术 > apache

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

Apache 安装与配置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中<directory "xxxx">改为
<directory "c:/php3">
AllowOverride None
Options None

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!