Comments on Installing Apache2 With PHP5 And MySQL Support On Debian Lenny (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Debian Lenny (LAMP) LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Debian Lenny server with PHP5 support (mod_php) and MySQL support.

12 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Eyesnuke

Must say I had pretty tough time setting phpmyadmin according to his guide. Kept getting 404 error and server couldent find it until I did that:

cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin

and then

a2ensite phpmyadmin

then reloading and restarting apache and it finally works. No idea what caused problems but it turned out to be only way to solve it.

By: Cere4l

I didnt have that problem at all, perhaps something you already had installed?

By: Patrick

I also had some issues.  Turns out the phpmyadmin install didn't make any include reference to /etc/phpmyadmin/apache.conf on install (Possible that I didn't select to use apache2 as the web server to use during install, but I thought I did).  Anyway, to /etc/apache2/apache2.conf I simply added:

Include /etc/phpmyadmin/apache.conf

And everything seems to work just fine.

By: Jeff

This worked for me as well...thx Eyesnuke

By: Tapas Mishra

Good resource.Helped.

By: Tapas Mishra

Good resource.Helped.

By: 1NSANE

Followed each step in the guide and was done and working in a few minutes. No issues.

By: John

Congratulations!  For once a set of notes that were lear and worked perfectly first time. Thank you

By: Karibe

These clear instructions worked perfectly with good debian sources. very helpful, especially configuring phpmyadmin after installation.

By: Christopher Smith

Great post.  I'm on Debian 6.0.2.1 and it worked perfectly.  Thanks for the help.

By: Anonymous

This guide was really helpful. Thank you so much. I got it all installed very quickly!
Cheers
Jerome 

 

By: RoyalHost.eu

the best way to fix PHPMYADMIN not appearing on DEBIAN is to do the following:

first do: nano /etc/apache2/apache2.conf 

then at the very end line add: Include /etc/phpmyadmin/apache.conf

then restart apache2: service apache2 restart

and it should be good :)