Home » Open Source » Programming Interfaces » Setup Env. Variables for PHP
Setup Env. Variables for PHP [message #228004] Fri, 30 March 2007 12:19 Go to previous message
gvandekrol
Messages: 8
Registered: February 2007
Junior Member
Hi everyone,

I'm trying to setup a connection to Oracle with PHP. I installed the Instant Client and added its path to the Environment Variables. Made the connection and it all seems to work perfect on my test computer.
Now I want to setup the same stuff by a webhosting company. I have access to the PHP.ini file to enable the PHP_oci8 extension, and have put the Instant Client on the server as well. But I can't change the environment variables. So I tried adding putenv("PATH=./instantclient"); to my PHP file, but that doesn't seem to do the trick.
I'm afraid that webserver needs to be restarted, but if I call my webhosting company and tell them to restart the server they'll probable laugh at me.

Any other ways of getting the Oracle Instant Client to work in a shared hosting environment?
 
Read Message
Read Message
Read Message
Previous Topic: SQL DBI Error
Next Topic: Have a doubt in File handling in Perl
Goto Forum:
  


Current Time: Fri Apr 19 18:41:24 CDT 2024