#31568 [NEW]: Extensions do not recognize needed files in PATH
From: chris at epliant dot com Operating system: Windows XP Professional SP2 PHP version: 5.0.3 PHP Bug Type: Dynamic loading Bug description: Extensions do not recognize needed files in PATH Description: This is a new install of PHP 5.0.3. I am following the instructions to try to centralize all files in the PHP dirs rather than copying supporting files to C:\WINDOWS\SYSTEM32. I added C:\php5 to system PATH. Copied libmysql.dll to C:\php5\ from C:\mysql\lib\opt\. libeay32.dll and ssleay32.dll already existed in C:\php5 I enabled the curl, mysql, and/or mysqli extensions. The only location that the Apache module will recognize the above files is C:\WINDOWS\SYSTEM32. Reproduce code: --- php.ini lines: extension_dir = "c:/php5/ext/" extension=php_curl.dll extension=php_mysql.dll extension=php_mysqli.dll Code: Expected result: Start apache and expect phpinfo() to report the presence of curl and mysql and/or mysqli (I tried it with either one, then both enabled). Actual result: -- Apache generated warning windows and phpinfo() does not report mysql or curl. In starting apache-2.0.52, I get: PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_mysql.dll' - The specified module could not be found. In starting apache-2.0.52, I get: PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_curl.dll' - The specified module could not be found. (When I copied all three of the above files to C:\Windows\System32, Apache worked properly but defeats the purpose). -- Edit bug report at http://bugs.php.net/?id=31568&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31568&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31568&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31568&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31568&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31568&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31568&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31568&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31568&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31568&r=support Expected behavior: http://bugs.php.net/fix.php?id=31568&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31568&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31568&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31568&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31568&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31568&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31568&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31568&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31568&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31568&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31568&r=mysqlcfg
#31568 [Opn->Bgs]: Extensions do not recognize needed files in PATH
ID: 31568 User updated by: chris at epliant dot com Reported By: chris at epliant dot com -Status: Open +Status: Bogus Bug Type: Dynamic loading Operating System: Windows XP Professional SP2 PHP Version: 5.0.3 New Comment: Found problem with my operating system. This is not a bug. Previous Comments: [2005-01-16 09:26:00] chris at epliant dot com Description: This is a new install of PHP 5.0.3. I am following the instructions to try to centralize all files in the PHP dirs rather than copying supporting files to C:\WINDOWS\SYSTEM32. I added C:\php5 to system PATH. Copied libmysql.dll to C:\php5\ from C:\mysql\lib\opt\. libeay32.dll and ssleay32.dll already existed in C:\php5 I enabled the curl, mysql, and/or mysqli extensions. The only location that the Apache module will recognize the above files is C:\WINDOWS\SYSTEM32. Reproduce code: --- php.ini lines: extension_dir = "c:/php5/ext/" extension=php_curl.dll extension=php_mysql.dll extension=php_mysqli.dll Code: Expected result: Start apache and expect phpinfo() to report the presence of curl and mysql and/or mysqli (I tried it with either one, then both enabled). Actual result: -- Apache generated warning windows and phpinfo() does not report mysql or curl. In starting apache-2.0.52, I get: PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_mysql.dll' - The specified module could not be found. In starting apache-2.0.52, I get: PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_curl.dll' - The specified module could not be found. (When I copied all three of the above files to C:\Windows\System32, Apache worked properly but defeats the purpose). -- Edit this bug report at http://bugs.php.net/?id=31568&edit=1
#31694 [NEW]: undefined symbol in MySQLi extension. Apache2 fails
From: chris at epliant dot com Operating system: Gentoo Linux PHP version: 5.0.3 PHP Bug Type: Apache2 related Bug description: undefined symbol in MySQLi extension. Apache2 fails Description: We are upgrading to MySQL 4.1.9. In compiling PHP 5.0.3 (both release and CVS from 1/25/05) against this MySQL version, apache2 crashes with an undefined symbol issue. I have tried multiple compiles and installs with the same end results. Reproduce code: --- Here are links for code used to get results. http://chris.epliant.com/php/ - Main list http://chris.epliant.com/php/php-5.0.3-mysqli-results.txt http://chris.epliant.com/php/install_php-5.0.3-mysqli http://chris.epliant.com/php/php-5.0.3-mysqli-configure.txt http://chris.epliant.com/php/php-5.0.3-mysqli-compile.txt http://chris.epliant.com/php/php-5.0.3-mysqli-compile-output.txt http://chris.epliant.com/php/php-5.0.3-mysqli-test.txt -- This accounts for the two errors reported by the test process -- http://chris.epliant.com/php/php-5.0.3-mysqli-install.txt http://chris.epliant.com/php/apache2-restart-results.txt This test server is on port 3307 for testing purposes. Expected result: Expect to build PHP with MySQLi enabled. Actual result: -- http://chris.epliant.com/php/apache2-restart-results.txt -- Edit bug report at http://bugs.php.net/?id=31694&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31694&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31694&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31694&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31694&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31694&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31694&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31694&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31694&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31694&r=support Expected behavior: http://bugs.php.net/fix.php?id=31694&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31694&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31694&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31694&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31694&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31694&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31694&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31694&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31694&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31694&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31694&r=mysqlcfg