重启Apache报错

问答中心分类: OneinStack重启Apache报错
rehack.cn 11月前询问

安装完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 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