note 62495 deleted from faq.databases by philip

From: Date: Sun, 22 Feb 2009 21:24:07 +0000
Subject: note 62495 deleted from faq.databases by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150986@lists.php.net to get a copy of this message
Note Submitter: jstoner at NOSPAM dot opsource dot net ---- Building in a Redhat 4 64-bit environment: This assumes you're using Redhat's RPMs (mysql, mysql-devel). MySQL libraries get installed in /usr/lib64 but PHP only searches /usr/lib. This means your config will fail. You need to create a fake install of MySQL in another directory to get PHP to build correctly. Create another directory, say /usr/local/mysql. Then cd into that directory and create 2 symbolic links pointing to the appropriate include directory and lib directory: # mkdir /usr/local/mysql # cd /usr/local/mysql # ln -s /usr/include/mysql include # ln -s /usr/lib64/mysql lib Now, you should be able to configure PHP with "--with-mysql=/usr/local/mysql" and build properly.

« previous php.notes (#150986) next »