Apache无法启动问题解决方法报错 configured — resuming normal operations
来源:互联网 发布:搬家软件 编辑:程序博客网 时间:2024/06/10 01:53
今天自己尝试这学习PHP环境搭建。
没想到安装apche server 2.2启动后报出错误,错误log如下:
Starting the Apache2.2 serviceThe Apache2.2 service is running.] Apache/2.2.21 (Win32) configured -- resuming normal operations[Fri Sep 23 15:45:03 2011] [notice] Server built: Sep 9 2011 10:26:10[Fri Sep 23 15:45:03 2011] [notice] Parent: Created child process 2452[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Child process is running[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Acquired the start mutex.[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Starting 64 worker threads.[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Starting thread to listen on port 80.
经过在网上搜索,解决办法如下。
1 将php.ini所在目录添加到环境变量path中
2 新建系统变量 PHPRC=“php.ini所在目录”
3 如果经过以上两部还是不成功那就出绝招:将php安装目录下libmysql.dll文件拷贝到windows/system32下
4 将libmysql.dll拷贝到apache/bin下
我是经过124步骤之后就成功了:)
还发生以下错误:
[Fri Sep 23 16:18:14 2011] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.Pre-configuration failed[Fri Sep 23 16:18:14 2011] [notice] Child 2452: Released the start mutex[Fri Sep 23 16:18:15 2011] [notice] Child 2452: All worker threads have exited.[Fri Sep 23 16:18:15 2011] [notice] Child 2452: Child process is exiting
php的版本 和你的apach版本不一致。apache不支持。需要重新下载安装php.下载地址:http://windows.php.net/download/下载注意选择类型,例如:VC6 x86 Non Thread Safe (2011-Mar-22 13:28:39)
- Zip[9.97MB]sha1: 30e2e65e90cec780a42d0b7e5fed5d42bf20eb4a
- Installer[20.24MB]sha1: 2145f6adf72ab5f9a067c52163c6b1c18c47eedd
- Debug Pack[4.94MB]sha1: 771b2587ea0087aa01fcc47d438597e1ee46e5e4
VC6 x86 Thread Safe (2011-Mar-22 13:29:30)
- Zip[10.06MB]sha1: 23e1cf2f6e1bf64585ae921462340e5748fcc939
- Installer[20.41MB]sha1: 710a69733aa280f22c86e8b868c51f5796f0a390
- Debug Pack[4.99MB]sha1: 027c38420ee21c049345b3baea149d083e558a4c----------------------------------------------------------------------第一类是线程不安全的第二类才是线程安全的。
httpd-2.2.21-win32-x86-no_ssl.msi 安装OK。
httpd-2.2.21-win32-x86-openssl-0.9.8r.msi安装一直报以下错误,原因可能是ssl认证的问题吧?
Starting the Apache2.2 serviceThe Apache2.2 service is running.] Apache/2.2.21 (Win32) configured -- resuming normal operations[Fri Sep 23 15:45:03 2011] [notice] Server built: Sep 9 2011 10:26:10[Fri Sep 23 15:45:03 2011] [notice] Parent: Created child process 2452[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Child process is running[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Acquired the start mutex.[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Starting 64 worker threads.[Fri Sep 23 15:45:03 2011] [notice] Child 2452: Starting thread to listen on port 80.
- Apache无法启动问题解决方法报错 configured — resuming normal operations
- elasticsearch启动报错的问题解决方法
- apache无法启动的排错方法
- Xampp中Apache无法启动问题解决
- windows下Apache无法启动问题解决
- xmapp无法启动Apache、Tomcat无法启动问题解决
- xmapp无法启动Apache、Tomcat无法启动问题解决
- Apache启动报错
- Apache - 启动报错
- Apache 启动报错
- oracle数据库启动报错ORA-12560问题解决方法
- TOMCAT 启动报730060问题解决方法
- Apache的windows版本启动报错自行分析方法
- Windows installer 服务无法启动 问题解决方法
- tomcat startup.bat 无法启动问题解决方法
- SQL Server Agent无法启动问题解决方法
- VS2010无法启动调试问题解决方法小结
- ubuntu apache 启动报错
- 公钥与私钥
- Apache 2.2 虚拟主机配置(本人推荐的)
- STL之父访谈录
- 关于Oracle里面float(b)类型数据的说明
- 网页设计师的 12 款免费的 Firefox 4 插件(转自:http://www.oschina.net/news/20761/12-best-free-firefox-4-add-ons-for)
- Apache无法启动问题解决方法报错 configured — resuming normal operations
- sql特殊字符转义处理,防止注入
- unix shell参考
- jsp中防止刷新后退等操作造成表单重复提交(纯jsp或者struts)
- android ListView 数据超过一页时,消除拖动产生的上下的黑条
- PHP 技术总结
- css 和 jquery height() 和 hide()
- 浅析android中的权限管理--用户安装的apk的uid,gid是如何分配的
- How to use HM software(H.265)