- XAMPP, from http://www.apachefriends.org/, includes everything in one package.
- lamp_server, a package from the Ubuntu repository.
- Individually install all the pieces from the Ubuntu repository.
XAMPP
It's hard to beat xampp for ease of install. Just extract the archive into /opt. It comes with a handy
lamppcommand line tool to start and stop all the services. However, I started spending a lot of time resolving side issues. It wasn't compatible with MySQL Administrator. The package includes phpMyAdmin. Overall, it's ok, but I run into issues and end up at the mysql command line. And I found that another package I installed was starting up another apache web server instance, causing conflicts. I also found that I had to tweak the php.ini file to suppress error messages, or the packages I was evaluating would not render correctly.
To install this, you need a terminal:
sudo apt-get install lamp_server^
This gave me grief. The install failed when setting the MySQL root user password. When I tried to uninstall the package, it failed with an unresolved dependency on mono_document. I've realized that I'm not actually going to use mono for now, so I uninstalled that package, and again entered:
sudo apt-get remove lamp_server^
After
re-installing a clean copy of Xubuntu 11.10, I decided to
install the standard Ubuntu packages individually:
sudo apt-get install mysql-server mysql-client
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5 php5-mysql
At this point, I am now up and running with a supported lamp stack.MySQL Administrator works correctly and I don't have to depend on phpMyAdmin. The apache server is started and stopped automatically. I also did not have to tweak the php error message display level. To me, this has a production feel to it, and this is the correct installation for me to evaluate existing software.