Last active
December 20, 2021 08:36
-
-
Save algotrader-dotcom/3f9d5a001c87bf31f7c1 to your computer and use it in GitHub Desktop.
Geos installation on centos 6
This file contains hidden or 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
| ## GeoOS written in C++ (port from Java) great on peformance improve https://geophp.net/geos.html | |
| sudo yum install php-devel | |
| cd /usr/share | |
| sudo wget http://download.osgeo.org/geos/geos-3.3.9.tar.bz2 # Note this changes | |
| sudo tar -xvjf geos-3.3.9.tar.bz2 | |
| cd geos-3.3.9 | |
| sudo ./configure --enable-php && sudo make clean && sudo make | |
| sudo make install | |
| sudo ldconfig | |
| sudo vi /etc/ld.so.conf | |
| Add the line: | |
| /usr/local/lib | |
| sudo /sbin/ldconfig | |
| # Create a /etc/php.d/geos.ini file with the following content: | |
| extension=geos.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment