httpd not running
hi, goodday to every one
please i have finish installing a new centOS 5.2 server but http is not running. when i try to issue this command: #service httpd restart i get but the following message below: [root@appdev ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied [FAILED] can anyone help me please? |
Seems you php so files is not present or PHP is not installed, try commenting this line to restart without php
|
Hi there,
Is the file /usr/lib/httpd/modules/libphp5.so present on your machine??? If not, you might want to get it from the web, for your operating system. It could also be that you don't have php installed on your machine. Then, either you decide to live without php or you should install it. If so, then you could try to comment this line out in the /etc/httpd/conf/httpd.conf file. Cheers |
Hi...
Quote:
To disable it temporarily use /usr/sbin/setenforce 0 To permanently disable enforcement during a system startup change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot. Hope this helps... |
Quote:
Code:
# yum install php |
All times are GMT -5. The time now is 11:43 PM. |