php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61424 8 dll error messages during start of win php
Submitted: 2012-03-17 04:07 UTC Modified: 2012-03-23 17:55 UTC
From: jmichae3 at yahoo dot com Assigned: pajoye (profile)
Status: Closed Package: Dynamic loading
PHP Version: 5.4.0 OS: XP Pro SP3 32-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jmichae3 at yahoo dot com
New email:
PHP Version: OS:

 

 [2012-03-17 04:07 UTC] jmichae3 at yahoo dot com
Description:
------------
I just ran "php" and I get 8 errors:
php.ini looks to be configured correctly.
this has been happening for several versions such as 5.3.10.



Test script:
---------------
php

Expected result:
----------------
php to load with no errors and wait for code on stdin.

Actual result:
--------------
php.exe: unable to locate component: the application has failed to start because OCI.dll was not found. Re-installing the application may fix the problem.
warning:php startup: unable to load dynamic library 'c:\php-5.4.0\ext\php_oci8.dll'
php.exe: unable to locate component: the application has failed to start because OCI.dll was not found. Re-installing the application may fix the problem.
warning:php startup: unable to load dynamic library 'c:\php-5.4.0\ext\php_oci8_11g.dll'
php.exe: unable to locate component: the application has failed to start because fbclient.dll was not found. Re-installing the application may fix the problem.
warning:php startup: unable to load dynamic library 'c:\php-5.4.0\ext\php_pdo_firebird.dll'
warning:php startup: unable to load dynamic library 'c:\php-5.4.0\ext\php_sqlite.dll'
warning:php startup: unable to load dynamic library 'c:\php-5.4.0\ext\php_zip.dll'



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-17 04:20 UTC] jmichae3 at yahoo dot com
I am using developer ini with all error messages turned on, and the extensions I have enabled are everything in the ext directory except snmp.
I just added SNMP and I got this dialog 19 times:
Windows - No Disk: Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c

I also get the following errors from php (this includes the stuff with E_ALL turned on):

Fri 03/16/2012 20:54:37.67|C:\Documents and Settings\Jim Michaels|>php
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_oci8.dll' - The specified module could not be found.

 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_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-5.4.0/ext/php_oci8_11g.dll' - The specified module could not be fo
und.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_oci8_11g.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_pdo_firebird.dll' - The specified module could not b
e found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_pdo_firebird.dll' - The specified module could not be fou
nd.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_sqlite.dll' - The specified module could not be foun
d.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_sqlite.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_zip.dll' - The specified module could not be found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:/php-5.4.0/ext/php_zip.dll' - The specified module could not be found.
 in Unknown on line 0
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
^C
Fri 03/16/2012 21:15:26.12|C:\Documents and Settings\Jim Michaels|>
 [2012-03-17 04:30 UTC] jmicahe3 at yahoo dot com
I didn't add extension=php_interbase.dll
either, and it also gives an error message.

PLEASE TEST your releases!
 [2012-03-17 04:46 UTC] jmichae3 at yahoo dot com
several of the extension entries in the developer ini point to dll's that are not there.
making a list of the real ones would be as easy as doing
dir/b ext
copy and paste into notepad++(at the cmd shell do alt-space ek and then mark out the section you want to copy with the mouse then hit Enter),
and alt-drag the cursor down the left of the list to make a long cursor and type ;extension= and you have


;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_enchant.dll
;extension=php_exif.dll
;extension=php_fileinfo.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_intl.dll
;extension=php_ldap.dll
;extension=php_mbstring.dll
;extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll

the list you SHOULD have.  easy.
 [2012-03-17 08:52 UTC] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=324317
Log: - Fix bug #61424, ext/sqlite is not bundled anymore, remove it from php.ini
 [2012-03-17 08:52 UTC] pajoye@php.net
About sqlite, there is no such module but php_sqlite3.dll. I have now removed it 
from the released php.ini.

For the other extensions, you have to install the respective dependencies. 
Firebird client, oracle client, etc.
 [2012-03-17 08:52 UTC] pajoye@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye
 [2012-03-23 17:51 UTC] jmichae3 at yahoo dot com
all these dll's that were listed in
php_bz2.dll
php_curl.dll
php_enchant.dll
php_exif.dll
php_fileinfo.dll
php_gd2.dll
php_gettext.dll
php_gmp.dll
php_imap.dll
php_interbase.dll
php_intl.dll
php_ldap.dll
php_mbstring.dll
php_mysql.dll
php_mysqli.dll
php_oci8.dll
php_oci8_11g.dll
php_openssl.dll
php_pdo_firebird.dll
php_pdo_mysql.dll
php_pdo_oci.dll
php_pdo_odbc.dll
php_pdo_pgsql.dll
php_pdo_sqlite.dll
php_pgsql.dll
php_shmop.dll
php_snmp.dll
php_soap.dll
php_sockets.dll
php_sqlite3.dll
php_sybase_ct.dll
php_tidy.dll
php_xmlrpc.dll
php_xsl.dll

came with this installation of php.  not sure why you are removing sqlite3 rather than fixing it.

I can't remember whether I still have firefird DB installed or not. I know I don't have oracle or sybase or interbase installed. I only have pgsql and mysql installed.  any sqlite functionality will have to be provided by PHP since it does not have its own engine that I know of.
 [2012-03-23 17:55 UTC] pajoye@php.net
I removed php_sqlite.dll which is not available anymore.
 [2012-03-23 20:25 UTC] jmichae3 at yahoo dot com
I get no errors with the following:
extension=php_bz2.dll
extension=php_curl.dll
extension=php_enchant.dll
extension=php_exif.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
;extension=php_imap.dll
;extension=php_interbase.dll
extension=php_intl.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
 [2012-03-23 22:18 UTC] jmichae3 at yahoo dot com
ahh - I got it... wasn't checking very well...  you are right, it's not there anymore.
 [2012-04-18 09:45 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5f31ecacd860cdffca1920e029296a0a6192c4ca
Log: - Fix bug #61424, ext/sqlite is not bundled anymore, remove it from php.ini
 [2012-07-24 23:36 UTC] rasmus@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5f31ecacd860cdffca1920e029296a0a6192c4ca
Log: - Fix bug #61424, ext/sqlite is not bundled anymore, remove it from php.ini
 [2013-11-17 09:33 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5f31ecacd860cdffca1920e029296a0a6192c4ca
Log: - Fix bug #61424, ext/sqlite is not bundled anymore, remove it from php.ini
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC