]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/install-on-centos-7.sh
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / vagrant / install-on-centos-7.sh
index 52ae5d0c553addac9b42b7b28aaf9180e2b28bad..fd50bc52f531eade29083c2d9dc1c974003e9039 100755 (executable)
@@ -31,6 +31,7 @@
                         python-numpy php-phpunit-PHPUnit
     pip install --user --upgrade pip setuptools lettuce==0.2.18 six==1.9 \
                                  haversine Shapely pytidylib
+    sudo pear install PHP_CodeSniffer
 
 #
 # System Configuration
@@ -103,6 +104,7 @@ sudo tee /etc/httpd/conf.d/nominatim.conf << EOFAPACHECONF
 <Directory "$USERHOME/build/website"> #DOCS:<Directory "$USERHOME/Nominatim/build/website">
   Options FollowSymLinks MultiViews
   AddType text/html   .php
+  DirectoryIndex search.php
   Require all granted
 </Directory>