wip github actions CI
[plcapi.git] / tests / ci / setup / setup_apache.sh
index 7a6f3af..2d34d9b 100755 (executable)
@@ -15,8 +15,8 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y apache2
 
 a2enmod rewrite proxy_fcgi setenvif ssl
 
-# in case mod-php was enabled
-a2dismod php
+# in case mod-php was enabled (this is the case on github's ubuntu with php 5.x at least)
+a2dismod php || true
 
 # configure apache virtual hosts