ID: 49310 Updated by: paj...@php.net Reported By: markvanrossum at yahoo dot co dot uk -Status: Open +Status: Bogus Bug Type: Windows Installer Operating System: Windows XP PHP Version: 5.2.10 New Comment:
It is your responsibility to install the oracle client correctly, and we do not distribute them. Not a bug > bogus. Previous Comments: ------------------------------------------------------------------------ [2009-08-21 11:08:31] markvanrossum at yahoo dot co dot uk An example of one that this applies to is the Oracle OCI extension. It is documented at http://www.php.net/manual/en/install.windows.extensions.php that this needs additional libraries from Oracle, but PHP should alert to this. The error message it generates that it can't find oci.dll is incorrect. Adding "c:\php\" to the path won't help because the additional dll's it needs aren't installed at this point. However, I spent quite a bit of time trying things like that before realising why it wouldn't work. ------------------------------------------------------------------------ [2009-08-20 13:29:06] ka...@php.net Is this for any specific extensions? Does it help to add "C:\php\" to your PATH env variable? ------------------------------------------------------------------------ [2009-08-20 11:36:03] markvanrossum at yahoo dot co dot uk Description: ------------ Using a default install of the MSI, choosing "no webserver" and then running php from the command line returns a popup box of: "This application has failed to start because xxx.dll was not found. Re-installing the application may fix the problem" and text into the console of "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\xxxx.dll' - The specified module could not be found. in Unknown on line 0" for some extensions that are enabled. Some other extensions load OK. After doing lots of research, it seems that some extensions require additional dll files from vendors. The installer should warn of this when you choose the extension. The error message above is wrong where it says "because xxx.dll was not found" and "The specified module could not be found" and there are many posts on internet forums from people trying to fix this issue by checking their extension_dir etc. Expected result: ---------------- PHP to run cleanly with no errors after a default install with no configuration changes. If more dlls are required from vendors then this to be stated, rather than the incorrect message "The specified module could not be found" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49310&edit=1