note 49871 added to ref.mysqli

From: Date: Thu, 10 Feb 2005 22:15:42 +0000
Subject: note 49871 added to ref.mysqli
Groups: php.notes 
Request: Send a blank email to php-notes+get-84814@lists.php.net to get a copy of this message
I have spent far too much time finding this answer: Since PHP5 many many people are having installation problems. I found many apps were broken when I upgraded to version 5. I tried to install mysql and mysqli and had problems. Here's the solution: 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 ...... Please note: the mysql-dev must be installed or you won't have a mysql_config anywhere. I installed the mysql-dev rpm Further note: the information about the Makefile's duplicate instances of "-libmysqlclient" came from Michael Kofler. Thanks should be directed to him. He gives more details at the following link: http://www.kofler.cc/forum/forumthread.php?rootID=3571 ---- Manual Page -- http://www.php.net/manual/en/ref.mysqli.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49871 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49871&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49871&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49871&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49871&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49871&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49871&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84814) next »