[PHP] connecting to oracle 9i

2005-12-30 Thread Sue Errico
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!



Re: [PHP] connecting to oracle 9i

2005-12-30 Thread Richard Lynch
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] connecting to oracle 9i as user SYS

2003-02-01 Thread Lukas Smith
Hi,

The topic says it all:
How do you connect to oracle 9i as the user SYS?

In the user comments about OCILogon() someone mentions that this is a
little problematic with 9i, but doesn't really spell out the solution.

Regards,
Lukas Smith
[EMAIL PROTECTED]
___
 BackendMedia
 www.backendmedia.com
 [EMAIL PROTECTED]

 Linn Zwoch Smith GbR
 Reuchlinstr. 10-11 Raum 4.1.6
 D-10553 Berlin (Tiergarten)
 
 Tel +49 30 83 22 50 00
 Fax +49 30 83 22 50 07



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php