[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ 4] Problems restarting Apache after Mysql/PHP install
- Subject: Re: [cobalt-users] [RaQ 4] Problems restarting Apache after Mysql/PHP install
- From: "DenIT Internet Services [Systeem Beheer]" <thijs@xxxxxxxxx>
- Date: Wed Jun 13 19:40:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
You are my saviour! I am forever grateful!
But really, thanks! you helped me out a bunch!
The problem was this:
I (with my stupid newbie-to-raq head)wrote the /sbin/ldconfig line as te
last line of the /etc/ld.so.conf file... so now it read the following:
/usr/local/mysql/lib/mysql
/sbin/ldconfig
Ah well, how could I know I had to issue the command instead of placing it
in the ld.so.conf file :)
Thanks again!
--Thijs Boonstra
> >Hello there,
> >I was installing MySQL and PHPfor the first time on my brand new RaQ4.
All
> >went fine, but when I wanted to restart Apache it came up with the
following
> >error:
> >
> >Shutting down Web Service: httpd
> >Setting up Web Service: Syntax error on line 58 of
> >/etc/httpd/conf/httpd.conf:
> >Cannot load /etc/httpd/modules/libphp4.so into server:
libmysqlclient.so.10:
> >cannot open shared object file: No such file or directory
> >/usr/sbin/httpd
> >
> >I checked... I doubble checked... their IS a file called
> >libmysqlclient.so.10
> >Could somebody help me along here? I have now started apache succesfully,
> >that is, I commented all the lines about PHP out:
> >
> >#LoadModule php4_module modules/libphp4.so
> >
> >#LoadModule php4_module /usr/lib/apache/libphp4.so
> >
> >#AddModule mod_php4.c
> >
> >Any ideas solutions and help would be greatly appreciated!
> >
>
> Okay, this is a very common problem which has been covered many times
> on the list, and also on the PHP site- www.php.net.
>
> The problem is that your system is not finding the libmysqlclient.so
> file, so you need to tell the system where to find it. On a RaQ3,
> you have to add the path to the file into /etc/ld.so.conf and run
> /sbin/ldconfig to make the library available to the system. I
> presume this is the same as the RaQ4.
>
> For example, if libmysqlclient.so is in /usr/local/mysql/lib/mysql
> then add the following line to your /etc/ld.so.conf file:
>
> /usr/local/mysql/lib/mysql
>
> Regards,
>
> Glen Scott
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>