Last active
May 16, 2017 02:27
-
-
Save 7rin0/9fcae69e46b6538617669212dbad5aa5 to your computer and use it in GitHub Desktop.
Project XYZ Drupal 8 - GEOS / PHP7 Mod / GD Image lib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install GEOS lib and GEOS php mod on PHP7 | |
# http://www.saintsjd.com/2014/06/05/howto-intsall-libgeos-with-php5-bindings-ubuntu-trusty-14.04.html | |
# /etc/php/7.0/mods-available/geos.ini | |
apt-get install -y apache2 php5 libapache2-mod-php5 php5-dev phpunit | |
wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2 | |
tar -xjvf geos-3.4.2.tar.bz2 | |
cd geos-3.4.2/ | |
./configure --enable-php | |
make | |
sudo make install | |
sudo vi /etc/php/7.0/mods-available/geos.ini | |
; configuration for php geos module | |
; priority=50 | |
extension=geos.so | |
sudo phpenmod geos | |
sudo service apache2 restart | |
sudo ldconfig | |
# Insall PHP7, GD PHP plugin/Library |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment