Re: MySQL support for PHP5. Please help

From: Date: Tue, 12 Sep 2006 05:42:05 +0000
Subject: Re: MySQL support for PHP5. Please help
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-17637@lists.php.net to get a copy of this message
Hello, If you have MySQL installed, then you already have the libraries. Just configure PHP: --with-mysql=/usr/local/mysql regards, Peter --- "Jaysen B. Johnson, EMT-B" <jaysen@emtjaysen.net> wrote: > Hello: > > I am running a Fedora Core 5 system as a web server with Apache 2.2.3, PHP > 5.1.5, and MySQL 5.0.22 > > I would like to setup a PostNuke CMS website which uses PHP and MySQL. > However, when I get to the point where it needs to connect to my database to > install the tables I get the following error. Fatal error: Call to undefined > function mysql_connect() > > Doing some research on this error tells me this is due to not having PHP > compiled with MySQL support. When I try to compile PHP 5 with MySQL support > it fails saying it cannot find the libraries. I understand that PHP 5 does > not come bundled with the libraries or headers anymore. > > Where can I get the libraries I need to compile PHP5 with MySQL support so my > CMS site will work? I've searched google and have also tried rpmfind.net > and the yum repositories. I've even searched the downloads at MySQL website > and have had no luck with this. > > Can someone please help me with this? Your help is greatly appreciated > > Jaysen ____________________________________________________ On Yahoo!7 Check out PS Trixi - The hot new online adventure http://www.trixi.com.au

« previous php.install (#17637) next »