note 56595 added to faq.databases
| From: | djlopez at gmx dot de | Date: | Thu, 08 Sep 2005 12:51:18 +0000 |
| Subject: | note 56595 added to faq.databases | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94913@lists.php.net to get a copy of this message | ||
How to compile PHP5 when you have installed mysql, but
- you can't find the "mysql header files" or
- get this error: Cannot find MySQL header files under /usr/
If you want to use mysql 4.0 (*not* 4.1 or even higher!) just download & extract the latest
mysql4.0 binary distribution to e.g.
/root/mysql40/
but don't start it (it even should not work, if you have a mysql server already running)
Then use --with-mysql=/root/mysql4 within your php5 configuration.
After compiling/installing (make, make install), you may delete the /root/mysql40/ directory, or
keep it for later versions of php5.
----
Manual Page -- http://www.php.net/manual/en/faq.databases.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56595
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56595&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56595&report=yes
Search -- http://master.php.net/manage/user-notes.php