LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   problem in starting httpd service!! (https://www.linuxquestions.org/questions/linux-server-73/problem-in-starting-httpd-service-538205/)

mhmo 03-17-2007 01:30 AM

problem in starting httpd service!!
 
Dear all

I am trying to start httpd using the command "service httpd start". but the following error appears:

Starting httpd: Syntax error on line 147 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/libexec/libphp5.so into server: /etc/httpd/libexec/libphp5.so: cannot open shared object file: No such file or directory

I am using CentOS..

What could be the problem? please I am waitting for the solution.

Best Regards

fr33z 03-17-2007 07:01 AM

Hello, your problem is, that apache is trying to load php5 library, but this library is not present on the right place.
Execute
Code:

locate libphp5.so
and send the output here.

If it will not find libphp5.so, consider reinstalling or recompiling PHP.

Hint: locate needs to have an actual database, you can create it with the "updatedb" command


All times are GMT -5. The time now is 02:16 AM.