Quick Apache2+SSL, MySQL5, PHP5 Dapper Install

1. Open Adept and PURGE any installed Apache, Apache2, PHP4, PHP 5

While in in Adept go ahead and install MySQL 5

If you want nice management tools go ahead and install kmysqladmin and
mysqladmin (I use these both)
OR once Apache is installed and working you can install PHPMyAdmin from

2. Close Adept and open a terminal and execute (answer yes to any output

$ sudo su
*enter your password*

*Now we can install Apache 2*

$ apt-get install apache2 apache2-common apache2-doc apache2-mpm-prefork
apache2-utils libapr0 libexpat1 ssl-cert

*Now we install PHP 5 (add any php libs you need; although, this covers

apt-get install autoconf automake1.4 autotools-dev libapache2-mod-php5 php5
php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash
php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl
php5-imap php5-mcrypt php5-pspell php5-gd

3. Open a file manager, I use Krusader in root mode. You must be root to
edit a system file or edit using vi at the
command line since your already root.

Browse to /etc/apache2/ and open apache2.conf

Locate DirectoryIndex and make sure index.php is in the list.
Should look like this:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.pl

then open /etc/apache2/ports.conf
and add port 443 for SSL

Should look like this:

Listen 80
Listen 443

4. At the command line again type these commands one at a time in this order
(I assume your in the same terminal still as root):

$ a2enmod ssl
$ a2enmod rewrite
$ a2enmod suexec
$ a2enmod include
$ apache2 force-reload

You should be ready to go...

Your server root is here:


via browser:


* I remove /apache2-default and create my own directories under www *

5. Install phpmyadmin


Screenshot - Running Xoops