i want to connect to oracle from PHP. I downloaded the php_oci8.dll library, put it in the ext directory of php, defined extension=php_oci8.dll in my php.ini file and restarted the web server.
I get an error saying Call to undefined function oci_connect(). I found out that php needs to be configured with --with-oci8=path_to_library. Looking to the php configuration ( phpinfo() ) there it says --with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared in the "configure command" section.
I am running on a windows 7 machine.
How can I change that ? And what else must I do to get it work ?
Thank you!