zahidrahim
asked on
Unable to load dynamic library php_oci8.dll
helloo ALL,
i am using php5.1.4, IIS and Oracle 9i full client installed on my local machine
i have uncomment php_oci8.dll and set the ext folder path in php.ini but i am still getting warning in my php pages
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0
c:\php\ext\php_oci8.dll i am sure this file is located on this folder.
Any HELP
i am using php5.1.4, IIS and Oracle 9i full client installed on my local machine
i have uncomment php_oci8.dll and set the ext folder path in php.ini but i am still getting warning in my php pages
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0
c:\php\ext\php_oci8.dll i am sure this file is located on this folder.
Any HELP
ASKER
could not understand,
By the way i am on my local machine with windows2000 and administrator login. now what and where should i see this rights thing???
By the way i am on my local machine with windows2000 and administrator login. now what and where should i see this rights thing???
IIS executes php not as Administrator it runs php as IUSER_machinname and thus all needed componets must be accessable via the IUSER_machinname - User. If you right-click on a fold an select properities there is AFAIk a tab where you can set the Security settings, but I'm no windows expert
ASKER
can you little further exaplain how to add user and how to give all rights. i have windows2000 IIS and Oracle 9i Client
ASKER
well now i am not using iis and trying to setup with apache2.0.59 with php5.1.4 on my same win2000 machine
but restarting apache
The procedure entrypoint OCILobRead2 could not be located in dynamic link library OCI.dll
and
PHP STartup: unableto load dynamic link library c:\php5\php_oci8.dll The specified procedure could not be found.
can you help me with these settings or tell me any way i can setup here or if u can help me in Red Hat Linux i can switch there as well........
But please help me out this issue :(
but restarting apache
The procedure entrypoint OCILobRead2 could not be located in dynamic link library OCI.dll
and
PHP STartup: unableto load dynamic link library c:\php5\php_oci8.dll The specified procedure could not be found.
can you help me with these settings or tell me any way i can setup here or if u can help me in Red Hat Linux i can switch there as well........
But please help me out this issue :(
If you don't need the oracle Database on your local PC, you can try to go with ZendCore for Oracle. I use the ZendCore for Oracle on linux which works very well.
Install the basesystem of the linux distribution (without apache, php), download and install ZendCore and you have a running system with php and oracle (database on another host)
There is also a version for windows:
http://www.zend.com/products/zend_core/windows_preview
you might try this version before you plan to switch to linux. In this case all permission and dll-problems should have gone. You are also able to get full support from Zend for this products.
Install the basesystem of the linux distribution (without apache, php), download and install ZendCore and you have a running system with php and oracle (database on another host)
There is also a version for windows:
http://www.zend.com/products/zend_core/windows_preview
you might try this version before you plan to switch to linux. In this case all permission and dll-problems should have gone. You are also able to get full support from Zend for this products.
ASKER
should i install zend core for oracle on windows or zend core for windows on windows
using Zend Core for Oracle v.1 Windows x86 after the intall bar complete the installation disappears and dont give me a message of restart your computer........
will i be able to start using php_oci8 just after installing zend Core For Oracle
can i have your msn/yahoo or gmail account to quickly solve this issue
using Zend Core for Oracle v.1 Windows x86 after the intall bar complete the installation disappears and dont give me a message of restart your computer........
will i be able to start using php_oci8 just after installing zend Core For Oracle
can i have your msn/yahoo or gmail account to quickly solve this issue
ASKER
Hey, i have installed Zend Core for Oracle on my Red Hat Linux with Apache 2.0.52, PHP4.3.9 and i dont have any oracle client etc installed on my this Linux machine so how should i can connect to oracle and where can i create service to configure as i am testing this code which is outputting nothing except
connection:
The Code is:
$user="bill";
$password ="bill";
$host="cis";
$conn=OCIPLogon($user,$pas sword,$hos t);
print "Connection:".$conn."<br>" ;
What are the next steps please guide as now i am very close to success i think.........
connection:
The Code is:
$user="bill";
$password ="bill";
$host="cis";
$conn=OCIPLogon($user,$pas
print "Connection:".$conn."<br>"
What are the next steps please guide as now i am very close to success i think.........
Zend Core for oracle comes with an oracle client. But it seems that your not using the Zend Core (as told do not install apache and php from the redhat distribution). The Zend core comes at least with php 5.1.4
So what does your script output ?
Add at the biginning of you script
ini_set('display_error', true);
error_reporting(E_ALL);
Also I found the problem why your oracle is not working on your windows side. From http://de3.php.net/oci8
You will need the Oracle client libraries to use this extension. Windows users will need libraries with version at least 10 to use the php_oci8.dll.
So what does your script output ?
Add at the biginning of you script
ini_set('display_error', true);
error_reporting(E_ALL);
Also I found the problem why your oracle is not working on your windows side. From http://de3.php.net/oci8
You will need the Oracle client libraries to use this extension. Windows users will need libraries with version at least 10 to use the php_oci8.dll.
ASKER
i dont want to reinstall apache through Zend Core bz my already running apache has oracle financial applications which are very much sensititve for the whole organization. but i dont care about the php upgradation.
so will the zend core distrub my already running apache? can i use my existing apache with Zend Core safely?
so will the zend core distrub my already running apache? can i use my existing apache with Zend Core safely?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A Quote:
Windows users will need libraries with version at least 10 to use the php_oci8.dll.
Windows users will need libraries with version at least 10 to use the php_oci8.dll.
sorry herns42, didn't see your reply till now.
Guess my last post http:#18018560 was the final solution
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: hernst42 {http:#18018560}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
Huji
EE Cleanup Volunteer
Accept: hernst42 {http:#18018560}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
Huji
EE Cleanup Volunteer
ASKER
hello again,
Everything is working fine on win2K, IIS, Zend Core for Oracle. i have few ASP based applications which stop working after zend core for oracle installation. can you please tell me what i can do to run my asp application on the same server where i am running my php applications communicating with oracle.
When i try to execute asp page in browser that save or open dialogue get appeared.
Any help plzzzzzzzzzz
Everything is working fine on win2K, IIS, Zend Core for Oracle. i have few ASP based applications which stop working after zend core for oracle installation. can you please tell me what i can do to run my asp application on the same server where i am running my php applications communicating with oracle.
When i try to execute asp page in browser that save or open dialogue get appeared.
Any help plzzzzzzzzzz
IUSER_<machinename> hat therights to access and read the oracle-directories