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)
Comments
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.
I didnt have that problem at all, perhaps something you already had installed?
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.
This worked for me as well...thx Eyesnuke
Good resource.Helped.
Good resource.Helped.
Followed each step in the guide and was done and working in a few minutes. No issues.
Congratulations! For once a set of notes that were lear and worked perfectly first time. Thank you
These clear instructions worked perfectly with good debian sources. very helpful, especially configuring phpmyadmin after installation.
Great post. I'm on Debian 6.0.2.1 and it worked perfectly. Thanks for the help.
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 :)