Dear,
I was able to add oci to php.
But zlib still does not work. When running a script localy on the system it
runs fine:
# /usr/local/php5/bin/php connect.php
#
But when running trough a browser I get an error page and this in php_error.log:
[19-Aug-2013 07:12:16 UTC] PHP Fatal error: Call to undefined function
gzopen() in /opt/apache/htdocs/connect.php on line 4
Any idea how this is possible?
Kas
> Date: Fri, 16 Aug 2013 12:17:04 -0700
> From: christopher.jo...@oracle.com
> To: kascoe...@hotmail.com
> CC: php-install@lists.php.net
> Subject: Re: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in
> error during make
>
>
> Add the directory containing the Oracle libraries to LD_LIBRARY_PATH.
> This needs to be done in the web server environment.
>
> I've lost track of what web server you are using, if it was mentioned.
> There are some tips on how to set the variables on p 77 "Setting the
> Oracle Environment for PHP on Linux" in
> http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
> These tips may apply to you.
>
> Chris
>
> On 08/16/2013 05:02 AM, KAs Coenen wrote:
> > Sorry, I misread. It indeed does not complain. But I don't know what you
> > mean when you say that I forgot to update apache's module? Care to clarify?
> >
> > Thx,
> >
> > Kas
> >
> >
> > Date: Fri, 16 Aug 2013 17:38:40 +0600
> > From: eug...@zhegan.in
> > To: php-install@lists.php.net
> > Subject: Re: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in
> > error during make
> >
> > Hi.
> >
> > On 16.08.2013 17:32, KAs Coenen wrote:
> >
> > hi,
> >
> > yes it does:
> >
> > # /usr/local/php5/bin/php -m
> > [PHP Modules]
> > bz2
> > ...
> > oci8
> > ...
> > zip
> > zlib
> >
> > [Zend Modules]
> >
> > What does this mean?
> >
> > As I can see, it does not.
> > It probably means you forgot to update apache's module (which php is for
> > apache).
> >
> > Eugene.
>
> --
> christopher.jo...@oracle.com http://twitter.com/ghrd
> Free PHP & Oracle book:
> http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html