Re: installation problem
| From: | Desmond Wong | Date: | Thu, 19 Oct 2000 08:03:16 +0000 |
| Subject: | Re: installation problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21117@lists.php.net to get a copy of this message | ||
In order to solve the problem about apxs, I have done it in other way.
Now, I have installed Apache 1.3.12 into my server located in /www, but I
already have the bundled Apache run which is stored in /etc/httpd (i guess,
coz i found conf files).
Anyway, I followed all instruction listed below:
gunzip apache_1.3.x.tar.gz
tar xvf apache_1.3.x.tar
gunzip php-3.0.x.tar.gz
tar xvf php-3.0.x.tar
cd apache_1.3.x
./configure --prefix=/www
cd ../php-3.0.x
./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
make
make install
cd ../apache_1.3.x
./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a ( i
change php4/libphp4.a, coz i downloaded verison 4)
make
make install
cp php3.ini-dist /usr/local/lib/php3.ini
So the remaing seems to be edit httpd.conf, that is inserting line as below:
Load Module php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php3 .php3
Do u think it is enough for me to complete the installation, on the other
hand, I must make sure the new version of Apache installed into /www have
the exact setting currently using, what is ur sugestion, is it i hv to
insert lines that are missing from /www/conf/httpd.conf with
/etc/httpd/conf/httpd.conf
Pls advise me for it,.
Thks
Desmond
----- Original Message -----
From: "Lester June Cabrera" <lester@i-quest.com>
To: "Desmond Wong" <desmondwong@cctmm.com.hk>
Sent: Thursday, October 19, 2000 1:40 PM
Subject: Re: [PHP] installation problem
>
> Can you check how your Apache is running? if it has DSO support and can
you
> search for the file apxs?
>
>
> At 12:28 PM 10/19/00 +0800, you wrote:
> >Yes, i am using the bundled Apache version, however, I afraid there will
> >have problem if I download a newer version of Apache and install it into
the
> >currrent server, do i have to reconfigure all existing settings.
> >
> >If i only need to run php from Browser, which one i should install,
Dynamic
> >or Statisc
> >
> >Thkds
> >Desmond
> >
> >----- Original Message -----
> >From: "Lester June Cabrera" <lester@i-quest.com>
> >To: "Desmond Wong" <desmondwong@cctmm.com.hk>
> >Sent: Thursday, October 19, 2000 12:23 PM
> >Subject: Re: [PHP] installation problem
> >
> >
> > >
> > > Hi Desmond,
> > >
> > > Are you using the default Apache that's bundled w/ Linux? Me, I
disabled
> > > it, and installed a newer version of Apache. Then in the configure
> >command,
> > > I provided the full path of the apxs files:
> > >
> > > ./configure --with-mysql=/usr/local/mysql
> > > --with-apxs=/usr/local/apache/bin/apxs
> > >
> > >
> > > Hope this helps,
> > >
> > > Lester
> > >
> > >
> > >
> > > At 12:05 PM 10/19/00 +0800, you wrote:
> > > >Dear All,
> > > >
> > > >I am trying to install PHP 4.0 into my linux server, but i have
problem
> >during
> > > >installation, hope u could give me a hand.
> > > >
> > > >While I run ./configure --with-mysql --with-apxs, the system cannot
find
> > > >apxs, why is that, how can I check whether apxs is installed (someone
> >else
> > > >was installed the server, not me).
> > > >
> > > >What are the difference between DSO and static modules, which one i
> >should
> > > >install in order to run php with database support.
> > > >
> > > >Your assistance is highly appreciated.
> > > >
> > > >Rgds
> > > >Desmond
> > > >
> > > >
> > >
> > >
> > > Lester June Cabrera
> > > Chief Web Programmer
> > > Worldroom.com
> > > A service of I-Quest Corp
> > > Tel: (632) 867 8460 local 32
> > > Fax: (63 2) 867 8077
> > > E-mail: lester@i-quest.com
>
>
> Lester June Cabrera
> Chief Web Programmer
> Worldroom.com
> A service of I-Quest Corp
> Tel: (632) 867 8460 local 32
> Fax: (63 2) 867 8077
> E-mail: lester@i-quest.com