#35852 [NEW]: PHP Startup: Invalid library

From: Date: Fri, 30 Dec 2005 18:12:54 +0000
Subject: #35852 [NEW]: PHP Startup: Invalid library
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91268@lists.php.net to get a copy of this message
From: jimbewlay at zoom dot co dot uk Operating system: WInXP SP2 PHP version: 5.1.1 PHP Bug Type: Dynamic loading Bug description: PHP Startup: Invalid library Description: ------------ Hi Guys Intro: I have had this problem for a few days now, and I have searched both bug reports and the net an can find references to similar problems, along with solutions. I have tried all to no avail. The envronment; the environment consists of Windows XP pro SP2, PHP_VERISON 5.0.4 build 2600,Apache/2.0.44 (Win32) and MySql v4.0.18 Cant' think of anything else relevant The problem: When starting or restarting Apache I get the following errors: PHP Warning: PHP Startup: ⌠U8: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libmysql.dll' in Unknown on l ine 0 PHP Warning: PHP Startup: H╚│: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ö«▒: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: öφ╡: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ►A8: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ∞∙│: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Hh╣: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20041030, debug=0, thread-safety=1 These options need to match in Unknown on line 0 My initial reaction was either the extension_dir was incorrectly specified or that the files were not i the direcory specified. I have checked and re-checked these and all is OK. Some solutions advance recommend the installation in the windows/system32 directory. this ahs been done. No difference. I also checked the environment variables to make sure teh paths is correct. All OK. (there is some questions about the integrity of paths in winXP So an asumption here). Significantly though if I try to move or tamper with 'libmysql.dll'in the windows/system32 I get an error ebcause teh file is being used. I assume by PHP? In any event I cannot load the php_GD2.dll which is basically what I want. I am also concerned about the compilation differences. I have tried recovering teh lastest version of 'libmysql.dll' from the net. This does not have any effect. I have seen previous issues with respect to Invalid Library problmes in the bug report, as fixed, but these appear to relate to different Operating systems. however other people are reporting similar problems in the various PHP news groups I am utterly stuck so over to you guys. If you need more info please ask. Reagrds JimB -- Edit bug report at http://bugs.php.net/?id=35852&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35852&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35852&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35852&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35852&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35852&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35852&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35852&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35852&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35852&r=support Expected behavior: http://bugs.php.net/fix.php?id=35852&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35852&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35852&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35852&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35852&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35852&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35852&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35852&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35852&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35852&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35852&r=mysqlcfg

« previous php.bugs (#91268) next »