mohawke's blog

Quick Apache2+SSL, MySQL5, PHP5 Dapper Install

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

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
Adept.

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

$ 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
most.)*

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