免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1975 | 回复: 1
打印 上一主题 下一主题

请教:PHP在xp下的环境配置,谢谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-18 11:13 |只看该作者 |倒序浏览
操作步骤:
1.下载安装 Apache Server 5.0.29,服务启动正常
2.下载php-5.2.1-Win32.zip,解压后,
2.1. 把php.ini-dist改名为php.ini放到c:/windows下
2.2. 把php5ts.dll放到c:/windows/system下
2.3. 把php5apache2.dll放到c:/php下
3.修改apache目录下的httpd.conf,
增加
LoadMoudle php5_moudle "C:/php/php5apache2.dll"

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

问题:在服务监视器中apache无法启动,弹出窗口:
The requested operation has failed!

以下是apache中logs/error.log
[Sun Mar 18 10:09:23 2007] [notice] Apache/2.0.59 (Win32) configured -- resuming normal operations
[Sun Mar 18 10:09:23 2007] [notice] Server built: Jul 27 2006 15:55:03
[Sun Mar 18 10:09:23 2007] [notice] Parent: Created child process 3688
[Sun Mar 18 10:09:23 2007] [notice] Child 3688: Child process is running
[Sun Mar 18 10:09:23 2007] [notice] Child 3688: Acquired the start mutex.
[Sun Mar 18 10:09:23 2007] [notice] Child 3688: Starting 250 worker threads.
[Sun Mar 18 10:14:35 2007] [error] [client 192.168.1.100] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/favicon.ico
[Sun Mar 18 10:34:17 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Mar 18 10:34:17 2007] [notice] Child 3688: Exit event signaled. Child process is ending.
[Sun Mar 18 10:34:18 2007] [warn] (OS 995)由于线程退出或应用程序请求,已放弃 I/O 操作。  : winnt_accept: Asynchronous AcceptEx failed.
[Sun Mar 18 10:34:18 2007] [notice] Child 3688: Released the start mutex
[Sun Mar 18 10:34:19 2007] [notice] Child 3688: Waiting for 250 worker threads to exit.
[Sun Mar 18 10:34:19 2007] [notice] Child 3688: All worker threads have exited.
[Sun Mar 18 10:34:19 2007] [notice] Child 3688: Child process is exiting
[Sun Mar 18 10:39:12 2007] [notice] Apache/2.0.59 (Win32) configured -- resuming normal operations
[Sun Mar 18 10:39:12 2007] [notice] Server built: Jul 27 2006 15:55:03
[Sun Mar 18 10:39:12 2007] [notice] Parent: Created child process 2720
[Sun Mar 18 10:39:12 2007] [notice] Child 2720: Child process is running
[Sun Mar 18 10:39:12 2007] [notice] Child 2720: Acquired the start mutex.
[Sun Mar 18 10:39:12 2007] [notice] Child 2720: Starting 250 worker threads.
[Sun Mar 18 10:57:14 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Mar 18 10:57:14 2007] [notice] Child 2720: Exit event signaled. Child process is ending.
[Sun Mar 18 10:57:16 2007] [notice] Child 2720: Released the start mutex
[Sun Mar 18 10:57:17 2007] [notice] Child 2720: Waiting for 250 worker threads to exit.
[Sun Mar 18 10:57:17 2007] [notice] Child 2720: All worker threads have exited.
[Sun Mar 18 10:57:17 2007] [notice] Child 2720: Child process is exiting
[Sun Mar 18 10:57:17 2007] [notice] Parent: Child process exited successfully.


请各位高手指点,谢谢。

论坛徽章:
0
2 [报告]
发表于 2007-03-20 13:38 |只看该作者
看看PHP目录下的INSTALL文件吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP