473,466 Members | 1,358 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error trying to use php_oci8.dll

I get the following line when trying to uncomment the
extension=php_oci8.dll line in my php.ini file.
-------------------------------------------------

PHP Warning: Unknown(): Unable to load dynamic library
'c:\php\extensions\php_oci8.dll' - The specified procedure could not
be found. in Unknown on line 0

-------------------------------------------------

I've verified that the path to ORACLE_HOME is in my path statement.
I've verified that I have the latest MDAC. I've also verified that I
have the extension_dir line set correctly ( "c:\php\extensions" )

I can get the php_oracle.dll to work just fine but not the
php_oci8.dll

I'm running IIS server on Win2K professional. Php works fine for
everything I've tried except this.

I'm using the latest stable release of php.

my oracle installation is 8.1.6 which is kind of old but php.net says
oci8 should work with oracle 7 or better.

Any help would be greatly appreciated.
Jul 17 '05 #1
1 4863
On 20 May 2004 13:22:05 -0700, si*********@hotmail.com (mike) wrote:
I get the following line when trying to uncomment the
extension=php_oci8.dll line in my php.ini file.
-------------------------------------------------

PHP Warning: Unknown(): Unable to load dynamic library
'c:\php\extensions\php_oci8.dll' - The specified procedure could not
be found. in Unknown on line 0

-------------------------------------------------

I've verified that the path to ORACLE_HOME is in my path statement.
Should be ORACLE_HOME/bin, not just the path to ORACLE_HOME.
I've verified that I have the latest MDAC.
Not required - doesn't use it.
I've also verified that I
have the extension_dir line set correctly ( "c:\php\extensions" )

I can get the php_oracle.dll to work just fine but not the
php_oci8.dll

I'm running IIS server on Win2K professional. Php works fine for
everything I've tried except this.

I'm using the latest stable release of php.

my oracle installation is 8.1.6 which is kind of old but php.net says
oci8 should work with oracle 7 or better.
Any reason why you have to stick with this desupported version? I've never run
8.1.6 with PHP, but I know for a fact 8i (8.1.7), 9i (9.2) and 10g (10.1) all
work well, and they're all supported versions of Oracle (although 8i dies at
the end of the year).
Any help would be greatly appreciated.


Does the IIS user have permission to load the OCI DLL? By this I'm referring
to the DLLs in the Oracle home, not just the PHP extension.

(Although from what I recall, 8i installs with fairly lenient permissions on
the ORACLE_HOME; in 9i it's stricter, and you definitely have to grant
permissions to the web server user for it to be able to start).

And anyway - it's saying 'procedure not found' - hm - I have a vague
recollection of a similar thing happening in Perl's Oracle driver, as 8.1.6 is
missing functions relating to LOBs that are present in 8.1.7. Would have to
look it up though.

Anything in the windows Event Log? Might be a more detailed description there
- maybe.

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: TJ | last post by:
I am running PHP version 4.3.4 I am running an Apache server I am running on Windows 2000 My PHP server has run perfectly since it was installed last November. However, I just uncommented the...
5
by: Bob Bamberg | last post by:
Hello All, I have been trying without luck to get some information on debugging the Runtime Error R6025 - Pure Virtual Function Call. I am working in C++ and have only one class that is derived...
9
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
7
by: Kris Desmadryl | last post by:
Hi all, I create a new asp project, with just one button on the startup form but when I run I always get a messagebox with the error : "Error while trying to run project." That's all what I see...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
1
by: John Lagoli | last post by:
I get this error, apparently because of my Query: Apache.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
3
by: Machaon | last post by:
Hi all, I use apache 2.0 with php 5.1.6. When this one is mounted as CGI script, php_oci8.dll works well (in version 5.1.2 !!?) But in module mode this same dll (and version 5.1.6 too) can't be...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.