VPS侦探论坛

 找回密码
 注册
查看: 6772|回复: 6

军哥,升级补丁后apache启动不了

[复制链接]
发表于 2012-1-15 08:33:48 | 显示全部楼层 |阅读模式

Stoping LNMP...
Nginx program is stop
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: php_libxml_node_free_resource
Shutting down MySQL.[  OK  ]
MySQL program is stop
Starting LNMPA...
Nginx start successfully!
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: php_libxml_node_free_resource
Starting MySQL.[  OK  ]
MySQL start successfully!
如此提示 请问是什么问题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-1-15 08:50:23 | 显示全部楼层


安装过程可能也出错了吧,有什么错误信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-1-15 09:00:39 | 显示全部楼层

安装过程没有错误信息,提示是成功的,请问如何解决?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-1-15 09:07:43 | 显示全部楼层



Build complete.
Don't forget to run 'make test'.

Installing PHP SAPI module:       apache2handler
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/
cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /root/php-5.2.17/libs'
chmod 755 /usr/local/apache/modules/libphp5.so
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/man/man1/
Installing build environment:     /usr/local/php/lib/php/build/
Installing header files:          /usr/local/php/include/php/
Installing helper programs:       /usr/local/php/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PDO headers:          /usr/local/php/include/php/ext/pdo/
=========================================================================
Manager for LNMPA V0.8  ,  Written by Licess
=========================================================================
LNMPA is a tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
This script is a tool to Manage status of LNMPA
For more information please visit http://www.lnmp.org

Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: php_libxml_node_free_resource
Shutting down MySQL.[  OK  ]
MySQL program is stop
Starting LNMPA...
Nginx start successfully!
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: php_libxml_node_free_resource
Starting MySQL.[  OK  ]
MySQL start successfully!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-1-15 18:57:59 | 显示全部楼层

没遇到过这个错误,搜了一下也没发现相关的

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2012-1-15 19:37:24 | 显示全部楼层

没办法,我最后只好重新运行./apache.sh重新运行了 ,问题解决了,但是补丁还是没有打上
 楼主| 发表于 2012-1-16 13:54:52 | 显示全部楼层

不知道如何搞,有人lnmpa搞成功了吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 12:29 , Processed in 0.027216 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表