2008-05-07
Apache2.2和PHP5.2的配置
关键字: apache php
1.将下载的php的zip包解压缩到c:\php
2.默认安装apache2.2.4后,安装目录为:C:\Program Files\Apache Software Foundation\Apache2.2
3.按照php.net网站的设置方法(http://www.php.net/manual/en/install.windows.apache2.php)将php做为模块对apache进行配置:
这样配置后apache启动失败,后来查询相关资料后,将配置改为:
apache启动成功,测试php页也成功。
2.默认安装apache2.2.4后,安装目录为:C:\Program Files\Apache Software Foundation\Apache2.2
3.按照php.net网站的设置方法(http://www.php.net/manual/en/install.windows.apache2.php)将php做为模块对apache进行配置:
# For PHP 4 do something like this: LoadModule php4_module "c:/php/php4apache2.dll" # Don't forget to copy the php4apache2.dll file from the sapi directory! AddType application/x-httpd-php .php # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php"
这样配置后apache启动失败,后来查询相关资料后,将配置改为:
# For PHP 4 do something like this: LoadModule php4_module "c:/php/php4apache2.dll" # Don't forget to copy the php4apache2.dll file from the sapi directory! AddType application/x-httpd-php .php # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2_2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php"
apache启动成功,测试php页也成功。
发表评论
- 浏览: 7732 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
Spring2结合DWR2的用户注 ...
javaprograms看看是不是你的dwr的包的版本不对呢
-- by lveyo -
Spring2结合DWR2的用户注 ...
哈哈,好啊
-- by kjj -
Spring2结合DWR2的用户注 ...
严重: Context initialization failed org.sp ...
-- by javaprograms -
innerHTML的性能问题
hax我看了你的分析文章,我也是用到的时候才发现老外的那篇文章的,也没想去研究为 ...
-- by lveyo -
innerHTML的性能问题
对于返回的 element 使用后是不是需要手动的delete掉? 否则会不会有 ...
-- by myreligion






评论排行榜