Re: connecting to oracle 9i

From: Date: Fri, 30 Dec 2005 18:48:04 +0000
Subject: Re: connecting to oracle 9i
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228030@lists.php.net to get a copy of this message
First, use <?php phpinfo()?> to determine several things: Where does PHP think your php.ini file should be? Move your php.ini file there, and then change it. Changes to other php.ini files in other places is pointless. There is a new-fangled Apache directive to tell PHP where to find php.ini, but it's easier to just move the darn thing. After you re-start Apache (again) does <?php phpinfo();?> show that Oracle is available? It will either be listed in that page, or it ain't there. Until Oracle is listed as installed, oci_connect() will remain undefined. Check the 'extensions_directory' in php.ini to be sure it's right. On Fri, December 30, 2005 12:16 pm, Sue Errico wrote: > I am running php 5.0 > apache 2.0 > oracle 9i on a windows platform > > receiving the following error: > > Fatal error: Call to undefined function oci_connect() in C:\Program > Files\Apache Group\Apache2\htdocs\Sue\testoci.php on line 3 > > I edited the php.ini > I uncommenting the extension=php_oci8.dll (removed ;) > and changed the > extension_dir = "C:/php/ext" > > I stopped and stopped apache and it still get the same error > can you please help or direct me to someone that can? > Thanks! > Happy New Year! > > -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#228030) next »