php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46650 php.exe - Unable to Locate Component
Submitted: 2008-11-23 10:06 UTC Modified: 2008-11-23 12:15 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: barryd dot it at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.6 OS: Windows XP Corperate
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: barryd dot it at gmail dot com
New email:
PHP Version: OS:

 

 [2008-11-23 10:06 UTC] barryd dot it at gmail dot com
Description:
------------
I believe I have discovered the issue.

After reading both the CLI responses and the VERY annoying windows pop ups error --

    "php.exe - Unable To Locate Component"

There's a discrepancy between the two, and I'd like to go through it line-by-line. I'd also like to mention I am using the zip package "php-5.2.6-Win32.zip", and have extracted it into C:\PHP, and that the modules are in C:\PHP\ext, and that my %path% does include the appropriate path, as well as my registry is updated...

Reproduce code:
---------------
No code needed.

Expected result:
----------------
To actually run...

Actual result:
--------------
Now, the first error:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oci8.d
ll' - The specified module could not be found.
 in Unknown on line 0

!!!!Does not have the same file name mentioned in the error window or "pop up" mentioned above "php.exe - Unable To Locate Component", and that is "This application has failed to start because OCI.dll was not found. Re-installing the app... blah blah blah", this occurs three times, as well as number of times with other files mentioned below!!!!

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_pgsql.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_sqlite_external.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pgsql.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pspell.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_sybase_ct.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ibm_db2.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ifx.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ingres2.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_maxdb.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mcve.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oracle.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_ibm.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_informix.dll' - The specified module could not be found.
 in Unknown on line 0

This obviously looks like a bug, and I am going to bet that 1 quick solution would be to rename all the files gone wrong to the correct ones would help it work around the issue.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-23 11:44 UTC] pajoye@php.net
Fixing you php.ini should help. That's not a bug, please ask further support in the install or setup mailing list.
 [2008-11-23 11:54 UTC] barryd dot it at gmail dot com
...I thought I illustrated the fact that I knew about that line in the php.ini

So, no, that is not the solution... There really is an issue with these modules, that upon extracting a fresh copy of PHP, those modules do not work!

And I think its BS that you find it necessary to reset the status to Bogus, I'm sure there are a number of users having the very same issue, and find them selves having to comment those very lines in your precious php.ini file, tyvm. Infact there are a number of bugs dating back a few years with the very same issue. So how about taking the time to consider the issue...
 [2008-11-23 12:15 UTC] pajoye@php.net
Please read again the output you pasted here, many extensions are not even distributed with PHP. Your configuration is broken or some old ini remains somewhere, use phpinfo to figure out which php.ini is used. Again there is no bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 03:01:32 2025 UTC