RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Rick Emery

Quoting Jeff McKeon <[EMAIL PROTECTED]>:


-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3


Jeff McKeon wrote:

>I've got a server with RedHat ES3 running.  It has PHP 4.3.2
installed
>but for an application I want to install I need a min of
4.3.9.  This
>server also runs apache2.0.
>
>I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
>figuring I would just compile myself.  Problem is, the INSTALL file
>gives instructions based on the idea that you don't already have
>Apache2 or an earlier ver of PHP Installed already.  Since
Apache2 was
>installed via RPM originally the INSTALL instruction for PHP with
>Apache2 prob won't work.
>
>./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
>
>It's the:
>
>--with-apxs2=/usr/local/apache2/bin/apxs
>
>Switch that has got me scratching my head.
/usr/local/apache2/ doesn't
>exist and I can't find apxs anywhere on the sys.
>
>Can I just configure with ./configure --with-mysql??
>
>Thanks,
>
>Jeff
>
>
>

I believe you need the httpd-devel rpm to get apxs2.


kgt



Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?


If I'm not mistaken (and I very easily could be), apxs is used to 
create the php module for apache. Red Hat/Fedora provide a mod_php rpm, 
and your older version may have had that rpm installed; thus, apxs (and 
the httpd-devel rpm) was not needed on your system to build the module.


Rick
--
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return"
  -- Leonardo Da Vinci

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading on RH ES3

2005-12-02 Thread John Nichel

Jeff McKeon wrote:

-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3


Jeff McKeon wrote:



I've got a server with RedHat ES3 running.  It has PHP 4.3.2


installed


but for an application I want to install I need a min of


4.3.9.  This


server also runs apache2.0.

I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file 
gives instructions based on the idea that you don't already have 
Apache2 or an earlier ver of PHP Installed already.  Since 


Apache2 was


installed via RPM originally the INSTALL instruction for PHP with
Apache2 prob won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.


/usr/local/apache2/ doesn't


exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff





I believe you need the httpd-devel rpm to get apxs2.


kgt




Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?



This allows you to install php (as well as other modules) as dynamic 
modules vs. as a CGI or having to recompile Apache each time you want to 
upgrade something plugged into it.



Currently PHP 4.3.2 runs find on this system. 


It is either running as a CGI or was compiled in with Apache.

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading on RH ES3 [SOLVED]

2005-12-02 Thread Jeff McKeon
> -Original Message-
> From: Jeff McKeon 
> Sent: Friday, December 02, 2005 15:18
> To: php
> Subject: RE: [PHP] Upgrading on RH ES3
> 
> 
> > -Original Message-
> > From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
> > Sent: Friday, December 02, 2005 14:50
> > To: Jeff McKeon
> > Cc: php
> > Subject: Re: [PHP] Upgrading on RH ES3
> > 
> > 
> > Jeff McKeon wrote:
> > 
> > >I've got a server with RedHat ES3 running.  It has PHP 4.3.2
> > installed
> > >but for an application I want to install I need a min of
> > 4.3.9.  This
> > >server also runs apache2.0.
> > >
> > >I can't find RPMs for RH ES3 so I downloaded the source 
> for PHP4.4.1 
> > >figuring I would just compile myself.  Problem is, the 
> INSTALL file 
> > >gives instructions based on the idea that you don't already have 
> > >Apache2 or an earlier ver of PHP Installed already.  Since
> > Apache2 was
> > >installed via RPM originally the INSTALL instruction for PHP with 
> > >Apache2 prob won't work.
> > >
> > >./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
> > >
> > >It's the:
> > >
> > >--with-apxs2=/usr/local/apache2/bin/apxs
> > >
> > >Switch that has got me scratching my head.
> > /usr/local/apache2/ doesn't
> > >exist and I can't find apxs anywhere on the sys.
> > >
> > >Can I just configure with ./configure --with-mysql??
> > >
> > >Thanks,
> > >
> > >Jeff
> > >
> > >  
> > >
> > 
> > I believe you need the httpd-devel rpm to get apxs2.
> > 
> > 
> > kgt
> > 
> 
> Interesting.  Would the current ver of php run if I didn't 
> have httpd-devel installed?  What exactly does the switch 
> --with-apxs2=/usr/local/apache2/bin/apxs do?
> 
> Currently PHP 4.3.2 runs find on this system. 
> 
> -- 

Kristin was correct, I needed to install the rpm for httpd-devel.

Thanks Kristin!

-Jeff

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
> -Original Message-
> From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 02, 2005 14:50
> To: Jeff McKeon
> Cc: php
> Subject: Re: [PHP] Upgrading on RH ES3
> 
> 
> Jeff McKeon wrote:
> 
> >I've got a server with RedHat ES3 running.  It has PHP 4.3.2
> installed
> >but for an application I want to install I need a min of
> 4.3.9.  This
> >server also runs apache2.0.
> >
> >I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
> >figuring I would just compile myself.  Problem is, the INSTALL file 
> >gives instructions based on the idea that you don't already have 
> >Apache2 or an earlier ver of PHP Installed already.  Since 
> Apache2 was
> >installed via RPM originally the INSTALL instruction for PHP with
> >Apache2 prob won't work.
> >
> >./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
> >
> >It's the:
> >
> >--with-apxs2=/usr/local/apache2/bin/apxs
> >
> >Switch that has got me scratching my head.
> /usr/local/apache2/ doesn't
> >exist and I can't find apxs anywhere on the sys.
> >
> >Can I just configure with ./configure --with-mysql??
> >
> >Thanks,
> >
> >Jeff
> >
> >  
> >
> 
> I believe you need the httpd-devel rpm to get apxs2.
> 
> 
> kgt
> 

Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?

Currently PHP 4.3.2 runs find on this system. 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading on RH ES3

2005-12-02 Thread Kristen G. Thorson

Jeff McKeon wrote:


I've got a server with RedHat ES3 running.  It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9.  This
server also runs apache2.0.  


I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file
gives instructions based on the idea that you don't already have Apache2
or an earlier ver of PHP Installed already.  Since Apache2 was installed
via RPM originally the INSTALL instruction for PHP with Apache2 prob
won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.  /usr/local/apache2/ doesn't
exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff

 



I believe you need the httpd-devel rpm to get apxs2.


kgt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
I've got a server with RedHat ES3 running.  It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9.  This
server also runs apache2.0.  

I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file
gives instructions based on the idea that you don't already have Apache2
or an earlier ver of PHP Installed already.  Since Apache2 was installed
via RPM originally the INSTALL instruction for PHP with Apache2 prob
won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.  /usr/local/apache2/ doesn't
exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php