Re: Re: Compiling php for Oracle
| From: | Reuben D. Budiardja | Date: | Sat, 19 Jul 2003 17:56:00 +0000 |
| Subject: | Re: Re: Compiling php for Oracle | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11312@lists.php.net to get a copy of this message | ||
On Saturday 19 July 2003 05:45 am, Michael Mauch wrote:
> Christian Villada wrote:
> > I'm trying to get PHP 4.2.2 connected to Oracle 8.1.7
> > in Linux RedHat 9
> >
> > ./.libs/libphp4.a(my_error.o)(.text+0x275): In
> > function `my_error':
> > /usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_error.c:32:
> > undefined reference to `errno'
>
> That's an old bug in old PHP versions compiled on new systems with new
> glibc. Use the current PHP 4.3.2 instead.
And there is a problem with PHP-4.3.2 compiled with OCI8 support. It will give
segmentation fault. So, use either PHP-4.3.1, or the latest stable snapshot
from here:
http://snaps.php.net/
I use the latest stable php-4.3.x-dev and it works fine.
I struglled all weekends trying to get 4.3.2 working, but after several
e-mails exchange in PHP-DB and PHP-DEV found out that it has the problem.
Search the archive for my name with subject containing OCI8 if you want to
know more. But as I said, the either 4.3.x-dev or 4.3.1 should work fine
Reuben D. Budiardja
--
-------------------------------------------------
/"\ ASCII Ribbon Campaign against HTML
\ / email and proprietary format
X attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------