Re: Howto procced with: Apache, PERL, PHP, mySQL, etc.


Subject: Re: Howto procced with: Apache, PERL, PHP, mySQL, etc.
From: Dennis Murphy (dmurphy@leguin.montclair.edu)
Date: Wed Nov 10 1999 - 18:06:32 MST


I installed apache to /usr/local/apache-1.3.9, and then created a
symlink from that directory to /usr/local/apache. The startup script for
Apache then starts from /usr/local/apache, so no matter what version I
use, I just change the symlink.

The config files are in /usr/local/apache/conf, so I don't use /home/httpd
or /etc/httpd... All self-contained. :-)

---
  Dennis Murphy
  Montclair State University
  College of Science & Mathematics
  SCInet Support & Development Group
  dmurphy@leguin.montclair.edu
  (973)655-5414

On Wed, 10 Nov 1999, Manton Reece wrote:

> >I used the same set of instuctions. I had a real problem with the default > >install of Apache (the php install needs the src tree of apache, which I > >couldn't find.) I had much better luck reinstalling YDL and choosing NOT to > >install Apache. Then, I downloaded each set of source files, compiled, and > >installed them. Works great. > > Interesting.. I ended up re-installing Apache into > /usr/local/apache/ and pointed PHP at that, but I didn't replace > Apache's normal stuff in /home/httpd/ and /etc/httpd/. > > Here's a somewhat related question: If I want to upgrade to Apache > 1.3.9 one of these days. Do people recommend building Apache into > /usr/local/apache/, and then moving the appropriate files to /home > and /etc, or is it easy to specify the /home and /etc directories > with the ./configure script? I'm assuming other people have gone > through this before, and your experience may be helpful. > > >I had one problem. I couldn't find a ppc binary distribution for MySQL. I > >downloaded the source, it compiled perfectly and installed fine but it > >didn't install in the /usr/local/mysql directory. It put the executables in > >/usr/local/bin so I couldn't change the owner to mysql as the instructions > >indicate. (I tried changing the default install dir as per the README but > >the compilation seemed to hang up every time I tried. > > Hmm, worked for me. I don't think I had to specify anything special > to get MySQL into /usr/local/mysql but I could be wrong. The > resource that I used as a reference was on WebMonkey: > > <http://www.hotwired.com/webmonkey/programming/php/tutorials/tutorial4.html> > > One thing that I've quickly realized while working with unix: It's a > good idea to fully document what steps you take to install new > software, so that upgrades or re-installs from a backup, etc. go more > smoothly. > > (I'm on the digest so cc: any replies to me if you'd like.) > > ____________________________________________________ > Manton Reece manton@manton.org > "I want them to remain secret for as long as men are > capable of evil." - Avi, "Cryptonomicon", Stephenson >



This archive was generated by hypermail 2a24 : Fri Dec 03 1999 - 19:07:32 MST