Install Apache2 with perl and php5 support

Posted by Tom Willett Thu, 24 Jul 2008 19:46:00 GMT

Basic instructions for installing Apache2 on the Basic Debian System.

Install Apache2 with php and perl support

apt-get install apache2 apache2-doc

apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-mysql php5-odbc php-pear curl libwww-perl imagemagick xml-core

Edit /etc/apache2/ports.conf and add Listen 443:

  Listen 80
  Listen 443

Now we have to enable some Apache modules (SSL, rewrite and suexec):

a2enmod ssl;a2enmod rewrite;a2enmod suexec

Restart Apache

/etc/init.d/apache2 restart

Comments

Leave a comment

Comments