Home > php教程 > php手册 > Apache2.44+PHP4.3.0快捷安装指南ForWindows及新手

Apache2.44+PHP4.3.0快捷安装指南ForWindows及新手

WBOY
Release: 2016-06-13 10:28:04
Original
1117 people have browsed it

准备工作: 在http://www.apache.org下载apache_2.0.44-win32-x86-no_ssl.exe 在http://www.php.net下载php-4.3.0-Win32.zip 安装步骤: 1、运行apache_2.0.44-win32-x86-no_ssl.exe 进行默认安装到结束 2、解压php-4.3.0-Win32.zip到c: 3、拷贝文件c:php-4.3.0-Win32php.ini-dist到Windows目录下,并改名为php.ini,也把c:php-4.0.3-Win32php4ts.dll拷贝到windowssystem目录下(For Win98)或拷贝到winntsystem32目录下(For NT4/NT5)。 4、用记事本编辑文件C:Program FilesApache GroupApache2confhttpd.conf 加入两行: LoadModule php4_module c:/php-4.3.0-Win32/sapi/php4apache2.dll AddType application/x-httpd-php .php 5、重新启动Apache,整个安装过程结束,就这么简单,其实就是在httpd.conf中加上php模块。。。 测试: 1、用记事本写个test.php文件,保存到C:Program FilesApache GroupApache2htdocs下,内容如下: 2、打开浏览器运行:http://localhost/test.php 嘿嘿,够简单了吧

source:php.cn
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template