Minor - fix apache travis

pull/3006/head
Julio Montoya 6 years ago
parent 1ae60806c7
commit 3fda165b7d
  1. 2
      tests/travis/setup-apache.sh
  2. 7
      tests/travis/travis-apache

@ -9,6 +9,8 @@ sudo cp -f tests/travis/travis-apache /etc/apache2/sites-available/000-default.c
sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo chmod 777 -R $HOME
cat /etc/apache2/sites-available/000-default.conf
# Starting Apache
sudo service apache2 restart

@ -12,6 +12,13 @@
LogLevel notice
#CustomLog ${APACHE_LOG_DIR}/%VHOST_URL%-access.log combined
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
</IfModule>
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>

Loading…
Cancel
Save