#!/bin/sh
+# Has to be run as admin
+
set -e
DEBIAN_FRONTEND=noninteractive apt-get install -y \
#!/bin/sh
-set -e
-
+# Install and configure apache2
+# Has to be run as admin
# @todo make this work across all apache versions (precise to focal)
-SCRIPT_DIR="$(dirname -- "$(readlink -f "$0")")"
+set -e
-# install and configure apache2
+SCRIPT_DIR="$(dirname -- "$(readlink -f "$0")")"
DEBIAN_FRONTEND=noninteractive apt-get install -y apache2
#!/bin/sh
+# Has to be run as admin
+
# To be kept in sync with setup_php_travis.sh
set -e
fi
fi
+# @todo run php-fpm as root, and set up 'travis' as user in www.conf, instead ?
~/.phpenv/versions/${PHPVER}/sbin/php-fpm
# @todo configure apache for php-fpm via mod_proxy_fcgi...
-sudo a2enconf php${PHPVER}-fpm
-sudo service apache2 restart
+#sudo a2enconf php${PHPVER}-fpm
+#sudo service apache2 restart
#!/bin/sh
-set -e
+# Install and configure privoxy
+# Has to be run as admin
-# install and configure privoxy
+set -e
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"