Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to
来源:互联网 发布:网络语言404是什么意思 编辑:程序博客网 时间:2024/06/02 00:17
【详细错误】:Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to recompile php. pre-configuration failed.
【造成原因】:不重新安装Appserv,直接升级PHP, 原php版本是无线程安全(nts)的,因此需要将php同时更换为线程安全版本(ts).
【处理办法】:
1. 下载新的php5.2.17 VC6 x86 Thread Safe,更新原php程序.
2. 打开php.ini文件:(添加或打开)
extension_dir = "PHP安装目录\ext"
default_charset = "gbk"
extension=php_mysql.dll
3.把php5ts.dll复制到c:\windows\system32下.
下面再配置一下Apache的conf文件:
1. 打开apache目录下/conf/httpd.conf文件.
2. 编辑添加新的记录:
LoadModule php5_module "php安装目录/php5apache2_2.dll"
PHPIniDir "php安装目录/php.ini"
AddType application/x-httpd-php .php
3. 再次启动apache,ok启动成功~
0 0
- Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to
- 解决【Apache is running a threaded MPM, but your php module is not compiled to be threadsafe.】
- [Tue Dec 25 22:07:36 2012] [crit] Apache is running a threaded MPM, but your PHP Module is not comp
- Cannot load php5apache2.dll into server Apache is running a threaded MPM,
- Is javascript guaranteed to be single-threaded?
- 138 Your database instance is running. You are not able to access Oracle Enterprise Manager Database
- Your Apple ID account is also attached to other iTunes providers. You will need to create a new user
- org.apache.jasper.JasperException According to TLD, tag form:input must be empty, but is not
- to be or not to be, that is a question...
- To be or not to be that is a question
- "Firefox is already running but is not responding" error message - How to fix it
- Your Progress As A Programmer Is All Up To You
- How to: Determine if a Package that is About to be Compiled is Being Used Currently (文档 ID 1054939.6
- BadTokenException:Unable to add window …… is your activity running?is not valid; is your activity ru
- Anroid 异常:Unable to add window …… is not valid; is your activity running?
- Unable to add window is not valid; is your activity running?
- view.WindowManager$BadTokenException: Unable to add window…is not valid; is your activity running?
- Unable to add window — token android.os.BinderProxy is not valid; is your activity running?
- Android AsyncTask内部机制总结
- 设计模式-职责链模式(chain of responsibility)及在Android中的应用
- Godot Engine 之 信号
- 一些笔记
- C# 获取Byte[]类型的内存地址
- Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to
- 杂记---------->给自己看的
- 定义和声明
- 上下班自动打卡: 上班自动打卡的简单实现
- Git 和 GitHub 教程和技巧
- Mycat之——配置文件server.xml
- mi bionic编译flow
- AngularJS自定义指令之可选参数replace
- viewDidLoad, viewWillDisappear, viewWillAppear等区别及各自的加载顺序