473,799 Members | 3,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

oci8 not being shown in phpinfo

4 New Member
Dear Sir,
I have installed oracle 11.1.0.6 on windows 2003 sp2 and sqlplus etc everything is running fine.I have iis6 with cgi
I have installed php 5.3.1 non thread safe and has done everything mentioned in the underground manual ,technote etc
like copying php_oc8_11g in php /ext directory
setting php.ini path to exenstion_dir
extension=php_o ci8_11g etc also in PATH variables
but whenever I am trying to run oci_connect it gives fatal error
also oci8 does not show in phpinfo
I have done the same way,
extension_dir=" c:\php\ext"
extension=php_o ci8_11g.dll
still nothing is working
This is done in php.ini file,
only one php.ini is there
I have used client as 11.1.0.7 for windows
I have also added tnsnames.ora and added tns_admin in the path
although database resides in the same machine
please help
Feb 5 '10 #1
5 4766
zorgi
431 Recognized Expert Contributor
What Fatal Error do you get?

I did this once and I can remember few things. This are two lines needed uncommenting in php.ini:

;php_oci8.dll
;php_pdo_oci.dl l

Also there can be more than one php.ini. You have to edit the one that shows when you run phpinfo();
Feb 5 '10 #2
kovidranjan
4 New Member
I have uncommented php_oci8 one, still no luck
Feb 5 '10 #3
zorgi
431 Recognized Expert Contributor
What is the error?
What about ;php_pdo_oci.dl l, did you uncomment it?
Did you check what php.ini you are editing?
Feb 5 '10 #4
kovidranjan
4 New Member
I have only one php.ini, I have uncommented the files which you have mentioned, still no luck
Feb 8 '10 #5
kovidranjan
4 New Member
still the problem is unresolved
Feb 12 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
12691
by: Chad The Man | last post by:
I have been developing some applications on suse 9 / apache 1.37 / php 4.3.4 / Oracle 9i / OCI8. We recently moved servers, apache works fine, php works fine, oracle works fine... however, trying to connect to oracle from php it dies with the following error : Warning: ocilogon(): _oci_open_session: OCIHandleAlloc OCI_HTYPE_SVCCTX: OCI_INVALID_HANDLE Using SQL plus I can connect just fine. The variables are all set in apache and the...
8
19553
by: PIII450 | last post by:
Hi all, We had to switch to windows 2003 server with IIS and now i've got a problem with the OCI8 :(( Big time! I know php works. I have tested this. I know the oracle\bin is in the path. I checked. At first I just made the extension active and then PHP stopped. Pages wouldn't load and the IIS had to be restarted.
1
3384
by: watayoune | last post by:
Hi, My apache (on win) crash when i start it, after i had oci8 extensions in php.ini ! 1. i had extension phph_oci8.dll in php.ini 2. i've got a php_oci8.dll in my php extensions dir 3. my exetnsion dirs are c:\php\extensions\ in php.ini 4. i've installed oci8 client 5. i've put my oci.dll (from oracle_home) in my windows dir (tips found
3
6493
by: Ben Fitzgerald | last post by:
Hi I'm having an irritating problem. I've got php installed with the compile-time flag --oci8=$ORACLE_HOME. I can make connections to the oracle db no problem. Updating, selecting etc. is all good. However, when I use a web page that calls a stored procedure:
0
2127
by: RDahlstedt | last post by:
I am relatively new to PHP, but with over a decade of experience in C and other programming languages I can usually pick up a new programming language relatively quickly (to be reasonably productive not to know it inside out). My issues I believe may be either solely concentrated on the platform I am running PHP 5.0.0 on (MS Windows 2000) or just the Oracle OCI8 module (running against an Oracle 8.1.7.4 installation). In either case I am...
5
2881
by: Mladen Gogala | last post by:
The latest version of OCI8 1.2.1 doesn't work with LOB fields. There was an open bug, but Tony2001 was his usual helpful self, so he removed the bug and flatly denied its existence. I had to download 1.2.0 and reading CLOB fields started working again. Unfortunately, DBMS_METADATA.GET_DDL returns CLOB, so I was forced to discover this non-existing bug. PECL bug system is useless and maintainers are more suited for inquisitors then for...
5
8172
by: danish | last post by:
I download the oci-1.2.2.tgz file and generated the oci8.so file. After adding the extension=oci8.so in php.ini I get the error unable to load dynamic library /usr/lib/php4/oci8.so
0
3128
by: ravinder1983 | last post by:
Hi All, I am new to this world of php. I tried getting oci8 work with php but to no avail. The error i recieve is "Warning: ocilogon() : OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory". My Oracle version is 10.2.0 and php version is 5.1.6 I have set the following environment variables: ORACLE_HOME, TNS_ADMIN, NLS_LANG,LD_LIBRARY_PATH in the...
7
22113
by: eholz1 | last post by:
Hello All, I have reviewed various posts in regard to Oracle and PHP. I am running Apache 2.0.59, on Windows XP, with PHP 5.2. I would like to connect using PHP to a remote oracle db (ver. 7) I have uncommented out the php_oci8.dll and the older php_oracle.dll in the php.ini file the ini file resides in c:\php\php.ini
0
9538
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10214
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9067
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7561
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4135
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 we have to send another system
3
2935
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.