slowfib Posted March 23, 2011 Share Posted March 23, 2011 Hey phpfreaks, I've run in to a bit of an issue in order to use the Oracle php_oci8_11g.dll extension. Issue is that, the extension doesn't load if my windows path has Oracle drivers, so for example this causes a conflict: C:\Oracle\product\10.1.0\Client_2\bin;C:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin;C:\PHP\;C:\PHP\instantclient_11_2 But if the path is set to this, then it works perfectly fine: C:\PHP\;C:\PHP\instantclient_11_2 So any idea if I can set a variable or parameter in the PHP.ini to use a specific PATH instead? Or something else that would accomplish the same without having to change the Windows path every time I start up the web server? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/231458-set-windows-path-on-php-load/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.