Setup Env. Variables for PHP [message #228004] |
Fri, 30 March 2007 12:19 |
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?
|
|
|
|
|