Page 1 of 1

Install php_oci8.dll extension

Posted: Fri Oct 11, 2002 11:30 am
by webatzman
How set up the php_oci8.dll in W2000 Advanced Server, the Oracle DB 8i and Apache 1.3.x is running and PHP 4.2.2 is running.
All in the server (local -host 127.0.0.1- ).

Posted: Fri Oct 11, 2002 9:39 pm
by volka
  • read http://www.php.net/manual/en/ref.oci8.php
  • pay extra attention to
    You will need the Oracle8 client libraries to use this extension.
    Before using this extension, make sure that you have set up your Oracle environment variables properly for the Oracle user, as well as your web daemon user. The variables you might need to set are as follows:
    ....
  • open php.ini (probably in c:\winnt)
  • check if extension_dir is set to the proper directory (i.e. extension_dir=c:/programme/php423/extensions - that's where the extensions are located at my pc)
  • uncomment the extension-line (extension=php_oci8.dll)
  • make sure that older oracle-module is disabled (;extension=php_oracle.dll or not in php.ini at all)
  • restart apache
Hope it really is that simple ;)