From 03fda834ae58bd52fc5174c3116470087787b50a Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 16 Apr 2013 16:32:04 +0200 Subject: [PATCH] chg: completed ``www`` charm. It's now usable. --- precise/www/hooks/install | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/precise/www/hooks/install b/precise/www/hooks/install index 992e693..475688e 100755 --- a/precise/www/hooks/install +++ b/precise/www/hooks/install @@ -4,33 +4,34 @@ set -eux apt-get -y install apache2 libapache2-mod-php5 libtidy-0.99-0 build-essential -apt-get -y install php5-dev php5-ldap php5-xsl php-pear php-mcrypt +apt-get -y install php5-dev php5-ldap php5-xsl php-pear +## Couldn't find this one: +#php-mcrypt apt-get -y install libapache2-mod-python libmysqlclient-dev python-dev apt-get -y install php5-mysql -apt-get -y install docutils ## for rst2html - - -apt-get install squirrelmail +apt-get -y install python-docutils ## for rst2html +#apt-get install squirrelmail apt-get install phpmyadmin ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin -ln -sf /usr/share/phpmyadmin /var/www/s-lmc.kalysto.org/phpmyadmin +#ln -sf /usr/share/phpmyadmin /var/www/s-lmc.kalysto.org/phpmyadmin pecl install tidy -echo "extension=tidy.so" +echo "extension=tidy.so" > /etc/php5/apache2/conf.d/tidy.ini pecl install xdebug -echo "extension=xdebug.so" >> /etc/php5/apache2/ +echo "extension=xdebug.so" >> /etc/php5/apache2/conf.d/xdebug.ini #rdfapi-php ? -a2enmod dav_fs ssl userdir rewrite suexec +#a2enmod dav_fs ssl userdir rewrite suexec +a2enmod ssl rewrite /etc/init.d/apache2 restart