#18608 [NEW]: PHP configure fails to locate MySQL header
| From: | dholeman1 at cox dot net | Date: | Sat, 27 Jul 2002 15:27:12 +0000 |
| Subject: | #18608 [NEW]: PHP configure fails to locate MySQL header | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15417@lists.php.net to get a copy of this message | ||
From: dholeman1@cox.net
Operating system: Redhat Linux 7.3
PHP version: 4.2.1
PHP Bug Type: MySQL related
Bug description: PHP configure fails to locate MySQL header
When running configure on the Redhat binary release of PHP 4.2.1 in order
to include MySQL support (--with-MySQL=/usr/bin) the configure script
fails to look in the specified folder for the MySQL header files and the
script dies. The configure script is dedicated to looking only in
usr/local and since downstream variables build on the path simply coding
in a reference to the correct MySQL path does not work. There is a current
php/mysql path patch but that addresses a different, SOCKS related, issue
and not this one.
The problem has been noted over the last two years with various earlier
releases of PHP and MySQL. There are two current mentions of the problem
at http://marc.theaimsgroup.com/?l=php-install&m=101437931602769&w=2
and
http://marc.theaimsgroup.com/?l=php-install&m=102239953422754&w=2,
plus
more if you google about the web.
Configuring with the mysql directive but without the path uses the built
in libraries but results in a warning that if MySQL is to be run as an
Apache module the php muct be onfigured using the mysql path and not the
default libraries.
Note that removing the MySQL directive, deleting the configure.cache file
and rerunning configure results in configure running to completion but
with the same warning as above.
--
Edit bug report at http://bugs.php.net/?id=18608&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18608&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18608&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18608&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18608&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18608&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18608&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18608&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18608&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18608&r=globals