From: php at komarov dot pp dot ru Operating system: 4.9-RELEASE-p10 FreeBSD 4.9-RELE PHP version: 5.1.4 PHP Bug Type: *Configuration Issues Bug description: Addition to the INSTALL file suggested
Description: ------------ When I configure PHP on my FreeBSD box according to the instructions of the INSTALL file, I see an instruction under Apache 2.0 section: 10. Now, configure your PHP. <...skipped...> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql When I use it, I receive an error message. I found a solution, one has to use some move parameters: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with- mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/ local/mysql So I suggest to add this note for FreeBSD users who install PHP to a clean machine. It's also useful for Apache 1.3.x version section because it's actuallly not an Apache but MySQL problem, I know there is a Bug #33187: addition to FAQ for PHP5 & MySQL Installation - but I believe that solution suggestd there isn't correct enough. Actual result: -------------- When I use that line ( ./configure --with-apxs2=/usr/local/ apache2/bin/apxs --with-mysql ), I receive a strange error message: configure: error: Cannot find MySQL header files under yes. -- Edit bug report at http://bugs.php.net/?id=37330&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37330&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37330&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37330&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37330&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37330&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37330&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37330&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37330&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37330&r=support Expected behavior: http://bugs.php.net/fix.php?id=37330&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37330&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37330&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37330&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37330&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37330&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37330&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37330&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37330&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37330&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37330&r=mysqlcfg