surkum wrote:Yes. I restarted the Apache. Now following two windows alert messages coming one by one (each 2 times).
"This application failed to start because OCIW32.dll was not found. Re-installing the application may fix this problem."
"This application failed to start because OCI.dll was not found. Re-installing the application may fix this problem."
Look in the Windows Event Viewer to see if there is more info on those errors as I don't know what application is not starting.
In XP go to
start>Administrative Tools>Event ViewerThose 2 files are not part of XAMPP so must belong to your Oracle Client and so Oracle may also be corrupt but that is only an assumption.
Thats is correct and what I was hoping to see.
surkum wrote:Should I have such a block of code for oci8??
There is no code block in php.ini for Oracle.
surkum wrote:Is there any installation order? (I, first installed Oracle client and then XAMPP)
Not that I am aware of as I believe that you would configure Oracle after install to tell it where things are but I have no knowlege of Oracle.
There is a possibility that XAMPP has been corrupted during install, which can happen.
The reason I say that is because even without having Oracle installed you should still be able to uncomment the oci extensions in the php.ini file and have them appear in the phpinfo() file.
Important - This is the issue that has to be resolved first or you will not be able to connect via XAMPP's php to your Oracle databases.
So may I suggest you uninstall the current XAMPP - first, make sure that all XAMPP components are stopped and any XAMPP components running as a service are also stopped (uninstall the service) including the XAMPP control Panel, then you can simply delete the XAMPP folder.
Download a fresh copy of XAMPP but I also suggest perhaps using the 7Zip or the Zip archive version then simply extract the archive to the folder of choice, usually C:\xampp as you had it before, but not using the Windows Installer version - just follow the installation instructions on the XAMPP For Windows web site page.
This method may help eliminate any possible issues by using the Windows Installer version.
Uninstalling and then reinstalling XAMPP has been known to fix some of these strange happenings in XAMPP.
So in conclusion we must fix the uncommented extension issue as they must be visible in the phpinfo() file before we can proceed to deal with any Oracle issues - as I said before they should be visible even if you don't have Oracle installed.
Some reading from a Google search here:
http://www.google.com/search?q=php_oci8.dll
http://www.google.com/search?q=php_pdo_oci8.dll
http://forums.oracle.com/forums/forum.jspa?forumID=178
http://www.oracle.com/community/index.html