Re: PHP RC2 doesn't find mysql if --prefix=/opt/mysql
| From: | Sascha Schumann | Date: | Sat, 13 May 2000 23:52:21 +0000 |
| Subject: | Re: PHP RC2 doesn't find mysql if --prefix=/opt/mysql | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18713@lists.php.net to get a copy of this message | ||
On Sat, 13 May 2000, Roberto Bertolusso wrote:
> Linux System. RedHat 6.2
> If You install mysql in a directory different than the default (in my
> case /opt/mysql) when you try to start apachectl it doesn't start and it
>
> puts the message:
> Syntax error on line xxx of /opt/apache/conf/httpd.conf:
> Cannot load /opt/apache/libexec/libphp4.so into server:
> libmysqlclient.so.6 cannot open shared object file: No such file or
> directory
$ su
# echo /opt/mysql/lib/mysql>>/etc/ld.so.conf
# ldconfig
- Sascha