Wednesday, May 21, 2008

PHP With Oracle

You don't need to install the Oracle Client tool to use Oracle in PHP5. Instead, there is the Oracle Instant Client from Oracle available freely for download: Oracle Instant Client

The package available contains several dlls. You can either copy all of them and put them in the windows system directory, or you can add the folder containing the files to your system path.

Next, you just need to enable the oci8 extension in your php.ini configuration file, and restart your web server. You should normally see OCI8 displayed when running phpinfo()

No comments: