您尚未登录。

#1 2014-03-08 09:05:56

wsgdlhy
会员
注册时间: 2011-08-19
帖子: 59

更新系统后php解释出错(已解决)

LoadModule php5_module modules/libphp5.so
将这一行放在LoadModule列表中 LoadModule dir_module modules/mod_dir.so 之后的任意地方后启动Apache就出错,注释这行就没问题,但PHP就不解释了,有什么解决方法?

3月 08 09:01:16 arch apachectl[5393]: [Sat Mar 08 09:01:16.615657 2014] [:crit] [pid 5395:tid 140025814214528] Apache is running a threaded MPM, but your PHP Module is not compiled to be ...recompile PHP.
3月 08 09:01:16 arch apachectl[5393]: AH00013: Pre-configuration failed
3月 08 09:01:16 arch systemd[1]: httpd.service: control process exited, code=exited status=1
3月 08 09:01:16 arch systemd[1]: Failed to start Apache Web Server.
3月 08 09:01:16 arch systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

最近编辑记录 wsgdlhy (2014-03-11 07:24:43)


[img]http://i.wotula.com/wp.png[/img]

离线

#2 2014-03-10 12:56:55

fengchao
会员
注册时间: 2012-02-21
帖子: 116

Re: 更新系统后php解释出错(已解决)

Apache 升级了,需要更改 MPM 模块才能使用:

http://zh.qa-linux.com/question/9/arch- … -dong-php/

离线

#3 2014-03-11 07:24:11

wsgdlhy
会员
注册时间: 2011-08-19
帖子: 59

Re: 更新系统后php解释出错(已解决)

fengchao 说:

Apache 升级了,需要更改 MPM 模块才能使用:

http://zh.qa-linux.com/question/9/arch- … -dong-php/

非常感谢,问题已解决!


[img]http://i.wotula.com/wp.png[/img]

离线

#4 2014-03-12 12:24:41

kexul
会员
注册时间: 2014-03-11
帖子: 14

Re: 更新系统后php解释出错(已解决)

我的apache更新后完全是打不开,各种模块不存在.

离线

#5 2014-03-12 13:20:55

kexul
会员
注册时间: 2014-03-11
帖子: 14

Re: 更新系统后php解释出错(已解决)

kexul 说:

我的apache更新后完全是打不开,各种模块不存在.

我把http里的配置文件全部删除了,再装一遍,把php按你说的加上了。

离线

#6 2014-03-12 15:05:54

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 更新系统后php解释出错(已解决)

kexul 说:
kexul 说:

我的apache更新后完全是打不开,各种模块不存在.

我把http里的配置文件全部删除了,再装一遍,把php按你说的加上了。

手工合并配置文件之后再改用 prefork 方式就好啦 =w=

离线

#7 2014-03-12 22:04:51

kexul
会员
注册时间: 2014-03-11
帖子: 14

Re: 更新系统后php解释出错(已解决)

百合仙子 说:
kexul 说:
kexul 说:

我的apache更新后完全是打不开,各种模块不存在.

我把http里的配置文件全部删除了,再装一遍,把php按你说的加上了。

手工合并配置文件之后再改用 prefork 方式就好啦 =w=

....不知道还可以这样子。。。。

离线

页脚