安装完oneinstack之后,我重启Apache服务器,然后报错,phpinfo和探针都不能访问。
错误信息如下:
[root@localhost default]# service httpd restart
httpd: Syntax error on line 150 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot make segment writable for relocation: Cannot allocate memory
错误信息如下:
[root@localhost default]# service httpd restart
httpd: Syntax error on line 150 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot make segment writable for relocation: Cannot allocate memory
[root@localhost default]# service httpd stop
httpd: Syntax error on line 150 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot make segment writable for relocation: Cannot allocate memory
4 Answers
http://aier.rehack.cn/install.log 这是安装日志
出现这个报错的原因是我修改了/usr/local/apache/conf/vhost/0.conf这个配置文件,然后重启Apache 导致的,但我还原/usr/local/apache/conf/vhost/0.conf这个文件的内容,再重启Apache依然报错
出现这个报错的原因是我修改了/usr/local/apache/conf/vhost/0.conf这个配置文件,然后重启Apache 导致的,但我还原/usr/local/apache/conf/vhost/0.conf这个文件的内容,再重启Apache依然报错
Please login or Register to submit your answer