【发布时间】:2023-03-18 17:58:01
【问题描述】:
我在我的 ubuntu 服务器上安装 apache、php5.3、passenger 和 apache。
我尝试按照link 将 php5.3 升级到 php5.5。
我输入$ php -v,它会显示正确的版本。
但是当我尝试停止和启动 apache 时,它会提醒我:
$ service apache2 stop
* Stopping web server apache2 *
$ service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 1 of /etc/apache2/apache2.conf: Cannot load /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.24/buildout/apache2/mod_passenger.so into server: /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.24/buildout/apache2/mod_passenger.so: undefined symbol: unixd_config
Action 'configtest' failed.
The Apache error log may have more information.
我想可能是乘客原因。但是如何解决呢?
【问题讨论】:
-
尝试停止你的 apache 然后启动你的 apache 服务器。因为重新启动可能无法为您提供足够的解决方案。
-
@SulthanAllaudeen,感谢您的回复,我更新了我的问题
标签: php apache ubuntu passenger