[CentOS] Using LAMP stacks

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Mar 14 18:39:48 UTC 2013


Bruce Whealton wrote:
<snip>
>>One option is to find an appliance ISO and use that rather than try to
> install a LAMP stack on top of an existing system.
>
> I suppose you are correct.  The real problem I was having was getting
> domain1.com to point to one location and domain2.com to point to another
> and to serve php files from both.  Previously, I had problems with this,
> especially frustrating was when php didn't work.  Didn't work meaning it
> wasn't being processed on the server.  With my latest install that does
> work now.  It was soooo frustrating.  Nothing out there seemed to offer a
> solution and the log files were unhelpful.
> These packaged lamp stacks do not resolve the issue of running virtual
> domains, such as domain1.com and domain2.com.  As noted in a prior email,
> when I added a vhost.conf file, the server would not restart.

You should note that current practice is to touch /etc/httpd/conf as
*little* as possible. It includes /etc/httpd/conf.d, and in there, you put
your files. What most people do is one for each domain.

       mark





More information about the CentOS mailing list