LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache PHP HELP I am stuck (https://www.linuxquestions.org/questions/linux-newbie-8/apache-php-help-i-am-stuck-489021/)

jCash 10-03-2006 09:03 AM

Apache PHP HELP I am stuck
 
I have suse 10.1. I installed Apache2 using Yast. Also installed php5 with yast and removed it later. Now I got a php5 source and complied and intalled php on the system. When I start apache I am getting following errors:

httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/mod_php5.so into server: /usr/lib/apache2/mod_php5.so: cannot open shared object file: No such file or directory

Line 113 of httpd.conf has the following:
Include /etc/apache2/sysconfig.d/loadmodule.conf

Line 27 of loadmodule.conf has the following:
LoadModule php5_module /usr/lib/apache2/libphp5.so

Can someone shed some light.

jCash 10-03-2006 09:19 AM

I did the following;
/sbin/ldconfig -v

I am getting the following error:

httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: cannot open shared object file: No such file or directory

So I did this to fix it:


cd /usr/local/apache2/modules/
cp libphp5.so /usr/lib/apache2

Now I am getting the following error:

linux-eova:/usr/lib/apache2 # apache2ctl start
httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 27 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: symbol __divdi3, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference

Someone HELP!


All times are GMT -5. The time now is 12:32 PM.