"I82much" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> "Bill Carter" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Thanks for the info. Did you install Apache and PHP binaries derived
from
> > the rpm's on the distribution disk or did you download sources from the
> > websites and configure/compile/install from sources?
> >
> > Peter Clarke wrote:
> > > I've recently installed:
> > > Red Hat Linux release 7.1 (Seawolf), PHP 4.0.6 Apache, 1.3.20 DSO from
> > > scratch with no problems.
> > > also:
> > > Red Hat Linux release 6.1 (Cartman), PHP 4.0.6 Apache, 1.3.20 DSO from
> > > scratch with no problems.
> > >
> > > Just so you know it can work.
> > >
> > > Peter
>
> I'm running rh7 2.2.19 and installed 4.0.6 dso /1.3.19 from source - from
> web not srpms - successfully with no probs.  I've rebuilt php several
times
> since to change extensions and every time it works fine.  Here is my
> configure command:
>
>
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
> apxs \
> --enable-bcmath --enable-calendar --with-gd --with-xml --with-oci8 \
> --enable-dbg=shared --with--dbg-profiler
>
> I'll upgrade my apache to 1.3.20 to see what happens and keep you posted.
>
> Dan

Okay, it worked fine on 1.3.20 as well.  This is what I did to run the new
server next to the old one:

download 1.3.20 from apache.org
tar -xvzf apache_1.3.20.tar.gz
mv apache_1.3.20 /usr/local/src
cd /usr/local/src/apache_1.3.20
./configure --prefix=/usr/local/apache1.3.20 --enable-module=so
make; make install
cp /usr/local/src/php-4.0.6/libs/libphp4.so /usr/local/apache1.3.20/libexec/
vi /usr/local/apache1.3.20/conf/httpd.conf    # edit file for following:

    LoadModule php4_module        libexec/libphp4.so
    Port 81
    AddType application/x-httpd-php .php

cp /usr/local/apache/htdocs/info.php /usr/local/apache1.3.20/htdocs/
/usr/local/apache1.3.20/bin/apachectl start

Dan



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to