geoPHP
geoPHP copied to clipboard
Update instructions for compiling 3.6.2
Most of the links on the website for installation are down or don't work with 3.6.2 which doesn't include PHP bindings by default.
If someone comes by this, here are instructions that work (from here):
curl -s -O http://download.osgeo.org/geos/geos-3.6.1.tar.bz2 &&
tar -xjvf geos-3.6.1.tar.bz2 &&
cd geos-3.6.1/ &&
./configure --enable-php &&
make &&
make install &&
cd ..ldconfig
curl -s -O https://git.osgeo.org/gogs/geos/php-geos/archive/master.tar.gz &&
tar -zxvf master.tar.gz &&
cd php-geos &&
./autogen.sh &&
./configure &&
make &&
make install &&
cd .. &&
The link for the second file has changed and the curl command fails. New url https://git.osgeo.org/gitea/geos/php-geos/archive/master.tar.gz