NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP5, Oracle 9i, failure to connect

Adam Maccabee Trachtenberg adam at trachtenberg.com
Wed Aug 25 16:35:25 EDT 2004


On Wed, 25 Aug 2004, Nathan Lavertue wrote:

> I just finished working on a development project creating
> charts with data from a MySQL database using the GD 2.0
> libraries. However, the database where this will be implemented
> is Oracle 9i. I have access to it remotely, from my
> workstation, but I've only been able to connect via a shell...
> not using PHP.

I've never used Oracle with or without PHP, but are you sure your copy
of PHP (or the Web server that's running it) runs in an environment
where all the necessary Oracle environment variables have been set?

See http://www.php.net/oci8 for more information.

I can tell you've done this for your account, but I'm not sure you've
done the same for the user Apache is running as.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list