Reply to Re: how to access oracle from php4

Your name:

Reply:


Posted by Erwin Moller on 01/11/07 09:02

danish wrote:

>
> Andy Hassall wrote:
>> 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.

Reread what Andy wrote.
'shared module'.
You do not have to recompile PHP.
Just uncomment the relevant part in php.ini and make sure you place the so
or dll in the right directory.
And of course as Andy indicated, read the installinstructions.

Regards,
Erwin Moller


>>
>> 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
>
> thanks I downloaded the software oci8-1.2.0...but now how do I compile
> and build it..there is no configure file..The php4 that I have is a
> binary package...
>
> Thanks
> Danish

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация