note 49872 added to install.unix.apache2
| From: | neil at osu1 dot php dot net | Date: | Thu, 10 Feb 2005 22:21:33 +0000 |
| Subject: | note 49872 added to install.unix.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84815@lists.php.net to get a copy of this message | ||
To install mysql and mysqli with PHP5 do the following:
after doing:
./configure --with-mysql=/path/to/mysql_config --with-mysqli=/path/to/mysql_config
do this:
"
if you want to use both the old mysql and the new mysqli interface, load the Makefile into your
editor and search for the line beginning with EXTRA_LIBS; it includes -lmysqlclient twice; remove
the second instance
"
then you can:
make
make install
.....
Pleasse note: you must have mysql-dev installed (RPM or source) or you will not have the
mysql_config file at all. The standard, server, and client installations of MySQL do not include
it. I read somewhere that the mysql and mysqli paths must be identical.
Quoted from Michael Kofler at the following link:
http://www.kofler.cc/forum/forumthread.php?rootID=3571
----
Manual Page -- http://www.php.net/manual/en/install.unix.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49872
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49872&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49872&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49872&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49872&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49872&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49872&report=yes
Search -- http://master.php.net/manage/user-notes.php