note 47148 added to ref.mysqli

From: Date: Thu, 04 Nov 2004 14:41:14 +0000
Subject: note 47148 added to ref.mysqli
Groups: php.notes 
Request: Send a blank email to php-notes+get-79609@lists.php.net to get a copy of this message
Couldn't get php to compile with mysqli on my redhat 7.2 linux install. Got multiple "undefined reference to `mysql_stmt....'" error messages on make. (configure ok). Finally found out, that the mysql_config script didn't work as expected on my install. It's supposed to return the full paths to your libs. It looks like this doesn't work properly in some cases. You can try to edit the mysql_config script so it returns an absolute path to your libraries and include dirs. (Edit the end of the variables at the end of the script and comment out the fix_path calls). It worked for me ! ---- Manual Page -- http://www.php.net/manual/en/ref.mysqli.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47148 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47148&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47148&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#79609) next »