Re: PHP4 and Apache 1.3.20 DSO mode not working?
| From: | i82much | Date: | Tue, 04 Sep 2001 09:46:06 +0000 |
| Subject: | Re: PHP4 and Apache 1.3.20 DSO mode not working? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-65867@lists.php.net to get a copy of this message | ||
"I82much" <me@dglewis.com.antispammer> wrote in message
news:20010904101440.7001.qmail@pb1.pair.com...
>
> "Bill Carter" <nospam@austin.rr.com> wrote in message
> news:3B93BBC2.9ECE9B98@austin.rr.com...
> > 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