newbie question about php with apache.

This is a discussion on newbie question about php with apache. within the PHP Language forums, part of the PHP Programming Forums category; Hi, I new to php, and I am using RH9. My question is if I can install php on a ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-12-2004
cz
 
Posts: n/a
Default newbie question about php with apache.

Hi,
I new to php, and I am using RH9.
My question is if I can install php on a preinstalled apache?

If I install apache during the RH installation, the apache
files are not in a folder like /usr/local/apache2. The conf files
are in /etc/httpd/conf and the start/stop file is /etc/rc.d/init.d/httpd.

If I install php based on this, it gave me error of missing apx files.
So do I have to use the apache tarball file to install it before
installing php? Does that mean I'd better skip the apache when
I install RH9 next time?

Thanks for any help,
CZ
Reply With Quote
  #2 (permalink)  
Old 10-12-2004
Daniel Tryba
 
Posts: n/a
Default Re: newbie question about php with apache.

cz <chong@positioning-research.com> wrote:
> If I install apache during the RH installation, the apache
> files are not in a folder like /usr/local/apache2. The conf files
> are in /etc/httpd/conf and the start/stop file is /etc/rc.d/init.d/httpd.
>
> If I install php based on this, it gave me error of missing apx files.
> So do I have to use the apache tarball file to install it before
> installing php? Does that mean I'd better skip the apache when
> I install RH9 next time?


So you are using the RH9 bundeled apache but not it's PHP! Since you
appear to be a newbie with both RH and PHP either do everything by the
book for RH (it's packages) or to an install from source for both.

You do know that RedHat9 is ancient? It has already reached end of life
long ago, so no updates for either apache or php (or anything else
broken). So from source should be the preferred solution if you need
(security) updates, even better would be to upgrade to a supported
distribution.

--

Daniel Tryba

Reply With Quote
  #3 (permalink)  
Old 10-12-2004
cz
 
Posts: n/a
Default Re: newbie question about php with apache.

Thanks Daniel!

I have a PC with apache installed. There was php but I wanted to
play with the new version from the source tarball. That's why I was
wondering if I have to reinstall the apache from source as well,
i.e, source PHP + RPM Apache.

I know Fedora was coming long time ago. But I just didn't update
on my old pc with RH9 yet.

Thanks for your suggestion.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0