Re: PHP Installation Issues

2002-07-23 Thread Roman Neuhauser

> Subject: Re: PHP Installation Issues
> From: Gary Dunn <[EMAIL PROTECTED]>
> To: Mark Rowlands <[EMAIL PROTECTED]>
> Cc: MET <[EMAIL PROTECTED]>,
>   freebsd-questions <[EMAIL PROTECTED]>
> Date: 23 Jul 2002 12:04:05 -1000
> 
> On Tue, 2002-07-23 at 10:58, Mark Rowlands wrote:
> 
> > 
> > er why not use ports?.. 
> > 
> > cd /usr/ports/www/apache2
> > make -DWITH_APXS install clean
> > cd /usr/ports/www/mod_php4
> > make -DWITH_APACHE2 install clean
> 
> How did you know to use those -D flags? I agree that using ports is
> often best, but I would not have known about those and so probably my
> attempt would have failed.

just read the makefiles!
% $PAGER /usr/ports/www/apache2/Makefile
% $PAGER /usr/ports/www/mod_php4/Makefile

-- 
FreeBSD 4.6-STABLE
12:14AM up 7 days, 10:33, 7 users, load averages: 0.41, 0.19, 0.11

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PHP Installation Issues

2002-07-23 Thread Gary Dunn

On Tue, 2002-07-23 at 10:58, Mark Rowlands wrote:

> 
> er why not use ports?.. 
> 
> cd /usr/ports/www/apache2
> make -DWITH_APXS install clean
> cd /usr/ports/www/mod_php4
> make -DWITH_APACHE2 install clean

How did you know to use those -D flags? I agree that using ports is
often best, but I would not have known about those and so probably my
attempt would have failed.

-- 

  Gary Dunn
  Open Slate Project
  http://www.aloha.com/~knowtree/
  Honolulu
  registered Linux user #273809

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PHP Installation Issues

2002-07-23 Thread Mark Rowlands

On Tue July 23 2002 20:25, MET wrote:
> I'm trying to install the PHP 4.2.2.  My ./configure command looks like
> this:
>
> ./configure --with-mysql --with-xml --with-apache=../httpd-2.0.39
> --enable-ftp --enable-short-tags --enable-track-vars
>
> Up one level is the httpd-2.0.39 dir which is Apache2.  On it I've only
> run: ./configure --prefix=/usr/local/apacheas to set its directory.
> I have not run "make" or "make install" on apache as a tutorial i've
> read says to do it later.  So anyways. when I run the ./configure
> command for PHP I get this error:
>
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... configure: error:
> --with-apache does not work with Apache 2.x!
>
> Any ideas on what I am doing wrong and how to fix it?
>

er why not use ports?.. 

cd /usr/ports/www/apache2
make -DWITH_APXS install clean
cd /usr/ports/www/mod_php4
make -DWITH_APACHE2 install clean




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



PHP Installation Issues

2002-07-23 Thread MET
Title: Message



I'm 
trying to install the PHP 4.2.2.  My ./configure command looks like 
this:
 
    ./configure --with-mysql --with-xml 
--with-apache=../httpd-2.0.39 --enable-ftp --enable-short-tags 
--enable-track-vars
 
Up 
one level is the httpd-2.0.39 dir which is Apache2.  On it I've only run: 
./configure 
--prefix=/usr/local/apache    as to set its 
directory.  I have not run "make" or "make install" on apache as a tutorial i've read says to do 
it later.  So anyways. when I run the ./configure command for PHP I get this 
error:
 
    
Configuring SAPI moduleschecking for AOLserver support... 
nochecking for Apache 1.x module support via DSO through APXS... 
nochecking for Apache 1.x module support... configure: error: --with-apache 
does not work with Apache 2.x!
 
Any ideas on what I am doing wrong and 
how to fix it?
 
 
/**
 
  
Matthew Metnetsky
 
  [EMAIL PROTECTED]
 
**/