Re: Install php4.0.6 with Oracle9i in Linux Redhat7.2(Kernel 2.4.9-13)
| From: | Kexiao Liao | Date: | Thu, 15 Nov 2001 01:57:54 +0000 |
| Subject: | Re: Install php4.0.6 with Oracle9i in Linux Redhat7.2(Kernel 2.4.9-13) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4958@lists.php.net to get a copy of this message | ||
Dear Stephan,
I downloaded php-4.0.6-oci8-oracle9i.patch from below web site as you told
me.
Fire the command "patch -p0 < php-4.0.6-oci8-oracle9i.patch" from the php
directory,
and got following message:
patching file ./php-4.0.6/configre
patching file ./php-4.0.6/ext/oci8/config.m4
It seems everything is OK. Then I changed to php-4.0.6 directory, and fired
following php install commands:
./configure --with-oci8=/opt/app/oracle/product/9.0.1
--with-apxs=/opt/apache/bin/apxs
make
make install
During the installation process, there wer still some error messages. I
attached the whole script file during the process of
installation. Please see them.
After I installed php, I copy /opt/oracle/php/php4.0.6/php.ini-dist to
/usr/local/lib/php.ini
Then I modified /opt/apache/conf/httpd.conf(AddType application/x-httpd-php
.php).
Restart my apache server (apachectl restart), the server cann't serve PHP
files. Please give
me some suggestions! Thank you!
Kexiao
Jaeck Stephan wrote:
> Hi,
>
> I just installed PHP 4.0.6 on Apache 1.3.19 with Ora 9i (9.0.1.0.0.) on SuSE
> 7.2
>
> The thing that you should use is a patch for the configuire-script of PHP.
> Because the pathnames to Oracle-libs are changed from 8i to 9i.
>
> You can find this patch at:
>
> http://www.cba.ua.edu/~spaff/
>
> This sent me Brian Mauter [maute001@bama.ua.edu]
>
> And (of course) use option --with-oci8=/your/oracle/home/lib
>
> HTH
>
> Stephan
>
> -----Original Message-----
> From: Kexiao Liao [mailto:liao4619@uidaho.edu]
> Sent: Wednesday, November 14, 2001 2:46 AM
> To: Austin Gonyou
> Cc: php-install@lists.php.net
> Subject: Re: [PHP-INST] Install php4.0.6 with Oracle9i in Linux
> Redhat7.2(Ker nel 2.4.9-13)
>
> One thing I would like to mention about:
> If use:
> ./configure --with-oci9=/opt/app/oracle/product/9.0.1
> instead of
> ./configure --with-oci8=/opt/app/oracle/product/9.0.1
> It still can not install php. I just check ./configure --help
> . The message shows it only support --with-oci8!!!
>
> Kexiao