|
Posted by Andy Hassall on 01/10/07 18:42
On 10 Jan 2007 08:34:57 -0800, "danish" <me.linuxadmin@gmail.com> wrote:
>Can anyone tell me how to access oracle from php. Im using CentOS 4
>with php4 already installed. From what I found after a bit of
>googling...php will have to be recompiled with oracle support. This
>seems to be a lot tedious.
>Anyone with an advic on how to use oracle with php.
>
>Im using CentOS4
>php4
>oracle10g
You don't have to recompile PHP, as you can build the oci8 extension (which
connects PHP to Oracle) as a shared module.
In fact, for PHP 4 that's probably the better course of action, as you can use
the newer version of the extension, which is better than the one bundled in
PHP4.
You can get it from http://pecl.php.net/package/oci8 , which comes with
install instructions.
The functions it provides are documented at http://php.net/oci8
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|