Re: Configuration issues w/PHP4, MySQL, Apache on RH7.1

From: Date: Fri, 06 Jul 2001 02:45:40 +0000
Subject: Re: Configuration issues w/PHP4, MySQL, Apache on RH7.1
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3422@lists.php.net to get a copy of this message
I am going to assume that /usr/bin/mysql is your base directory. That would make the shared libraries in the directory /usr/bin/mysql/lib/mysql. A simple: # ldconfig -m /usr/bin/mysql/lib/mysql Should fix all your woes. Depending on your flavor of Unix you run, you will want to add the above directory line to your /etc/ld.so.conf file or similar hints file. One other thing... you should be configuring PHP with apxs.. looking something like: # ./config --with-mysql=/path/to/MySQL --with-apxs=/path/to/apache/bin/apxs Hope this helps. Derek Steinkamp Gabriel McAtee wrote: > So.... I have MySQL up and working, Apache up and working, and PHP4 up and > working... but not connecting to MySQL. I ran > "configure --with-mysql=/usr/bin/mysql" which apparently is not correct... > it returned an error stating that it could not find the MySQL libraries in > the indicated path. Could someone give me a pointer here? I've been > struggling with this for a week and a half now, and not making any progress > to speak of... :( > > -- > _______________________________________ > _______________________________________ > _______________________________________ > Gabriel K. McAtee > Consultant > Project Leadership Associates > 250 S. Wacker Dr., Suite 345 > Chicago, IL 60606 > _______________________________________ > _______________________________________ > _______________________________________ > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#3422) next »