Edit report at http://bugs.php.net/bug.php?id=50765&edit=1
ID: 50765 Updated by: jmer...@php.net Reported by: andreas dot mohr at teraport dot de Summary: Error message executing php - oci.dll was not found -Status: Assigned +Status: Closed Type: Bug Package: Windows Installer Operating System: Windows Server 2006 64bit PHP Version: 5.3.1 Assigned To: jmertic New Comment: Verified that pdo_oci extension is not included by default in PHP 5.3.2 installer Previous Comments: ------------------------------------------------------------------------ [2010-01-25 08:52:37] paj...@php.net John, can you disable oci by default please? Alternatively we could add a dep. I'm not sure if oracle has a MSI for the instant client, so we could detect it. ------------------------------------------------------------------------ [2010-01-15 12:21:05] paj...@php.net Agreed, it should not even be installed by default. ------------------------------------------------------------------------ [2010-01-15 12:15:34] andreas dot mohr at teraport dot de As mentioned: my problem is actually solved. Nevertheless i consider this to be a bug during installation. 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 (disable preset in installation because dependancy raises an error). ------------------------------------------------------------------------ [2010-01-15 12:12:26] andreas dot mohr at teraport dot de 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 this bug report at http://bugs.php.net/bug.php?id=50765&edit=1