From: andreas dot mohr at teraport dot de Operating system: Windows Server 2006 64bit PHP version: 5.3.1 PHP Bug Type: Windows Installer Bug description: Error message executing php - oci.dll was not found
Description: ------------ Pre-Installed php 5.2.11 running without error messages. - Initially no oracle extensions were installed After Updating to 5.3.1, running any php command in command window produces the error message "The application has failed to start because oci.dll was not found. Re-Installing the application might solve the "... Reinstalled using php-5.3.1-nts-Win32-VC9-x86.msi... ...with Oracle 10 extension. Did not fix the issue... Result: error now occurs twice when running the php version check Reinstalled once more... ...with 11g Extension. Did not fix the issue... Result: error occurs three times - disabled all extensions containing "oci" in php.ini. Found additional extension extension=php_pdo_oci.dll In previous versions, when PDO extensions are installed no dependancy issues occured when the database (or client) behind the extension was not installed. The necessity to install an oracle client with PHP 5.3.1 is not well documented. So the problem is actually solved. If PDO extension for oracle is installed, the dependancy from oci.dll should be taken care of or informed about during installation. If installation is an update and if pdo for oracle is NOT previously installed, do not install it. Reproduce code: --------------- In php.ini of a running PHP 5.2.11, only have pdo extensions for mysql installed. Update an installed PHP 5.2.11 to 5.3.1 (with or without oracle extensions) using the windows installer and run c:\your-path-to-php\php-cgi.exe -v in the command prompt. Note: pdo extension is installed (because pdo was previously installed?). Unfolding the tree reveals that the feature is fully installed, including PDO for Oracle 10g client and above. There is no awareness of this. Expected result: ---------------- Execute php after Update without an error message. Actual result: -------------- The version info is correctly displayed - following an error message. "The application has failed to start because oci.dll was not found. Re-installing the application might solve the problem." -- Edit bug report at http://bugs.php.net/?id=50765&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50765&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50765&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50765&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50765&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50765&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50765&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50765&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50765&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50765&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50765&r=support Expected behavior: http://bugs.php.net/fix.php?id=50765&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50765&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50765&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50765&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50765&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50765&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50765&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50765&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50765&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50765&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50765&r=mysqlcfg
