[LBo] Installing and configuring a LAMP

Jisao dimark at securenet.net
Tue Dec 26 11:30:11 CET 2006


Stefan Waidele wrote:
> Jisao schrieb:
>> I have started the project of creating a LAMP on my Debian Etch 
>> computer.  I was wondering if I was better off with the apache 
>> package, or if I should use apache2.
>
> There are a ton of tutorials and instructions and just about 
> everything out there for Apache (which is 1.3-something, IIRC)
>
> But since Apache2 is out there, it would be wise to get used to the 
> "new thing". If you learn Apache2 at home and need to reconfigure 
> something for Apache1.3 on your hoster, it should be easier than the 
> other way around.
>
> Configuration did not change too much. The only thing that gave 
> trouble when I switched LinuxBasics.org from 1.3 to 2.0 were the 
> "ReWrite-Rules" to have nice URLs in the wiki.
>
Well, after playing about the whole thing for a while, one of the 
differences is that PHP5 does not come with mysql support already 
configured.

> What i want to say is that if you just want to run a webserver to get 
> the feeling for it, it should not matter if you use 1.3 or 2.0 - so 
> you might as well get used to the new stuff :)
>
> "But trust be on the sunscreen" :)
So far, I have avoided adding security, not to complicate things even 
more.  I figured that when I have the thing figured out, I might add to 
the complexity by "securing" the server. 
>
> Stefan
>

One important thing in debian about PHP with mysql support:  it requires 
an extra package, php4-myql or php5-mysql.  That wasn't very clear in 
the documentation, and apt-get was not "getting it" as part of 
installing php automagically.  It is the fine folks in ##php on freenode 
that put their finger on that problem.

I figured I'd mention it here for future newbies who might run into this 
problem.

In closing, I'd like to thank all of you who helped me install and 
configure  this install. Thank you for the nice Christmas gift.

Jisao


More information about the QnA mailing list