#35852 [Opn->Bgs]: PHP Startup: Invalid library

From: Date: Fri, 30 Dec 2005 18:21:51 +0000
Subject: #35852 [Opn->Bgs]: PHP Startup: Invalid library
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91270@lists.php.net to get a copy of this message
ID: 35852 Updated by: tony2001@php.net Reported By: jimbewlay at zoom dot co dot uk -Status: Open +Status: Bogus Bug Type: Dynamic loading Operating System: WInXP SP2 PHP Version: 5.1.1 New Comment: For some weird reason you're trying to load a library that is NOT a PHP extension. Not PHP problem. Previous Comments: ------------------------------------------------------------------------ [2005-12-30 19:12:51] jimbewlay at zoom dot co dot uk 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 this bug report at http://bugs.php.net/?id=35852&edit=1

« previous php.bugs (#91270) next »