php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35852 PHP Startup: Invalid library
Submitted: 2005-12-30 19:12 UTC Modified: 2005-12-30 19:21 UTC
From: jimbewlay at zoom dot co dot uk Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.1.1 OS: WInXP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jimbewlay at zoom dot co dot uk
New email:
PHP Version: OS:

 

 [2005-12-30 19:12 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-30 19:21 UTC] tony2001@php.net
For some weird reason you're trying to load a library that is NOT a PHP extension.
Not PHP problem.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 13:01:27 2023 UTC