[mapserver-users] Σχετ: php-mapscript installation in Linux

Stefanos Anastasiou emperor_stef at yahoo.gr
Thu Sep 28 13:03:27 PDT 2017


Hi Stathis,
    I have the same php version as you (5.6.31) along with php 7 but I've switched to 5.6 for mapserver reasons.   If you can't see php_mapscript.so in there, my guess is that you haven't compiled php mapscript at all. If you downloaded mapserver and other mapscript versions from the repositories, be aware that php mapscript is only available through compilation with CMake.  After you've done it you need to open you php.ini file and add the extension as: extension = "php_mapscript.so".  Make sure that when you compile from source, php 7 is removed from your system or you'll get a lot of errors....at least I did and could't fix them, even by adding various patches I found on the internet, until I removed version 7 prior to compilation. 
Hope it helps
-Stefano 

    Στις 10:46 μ.μ. Πέμπτη, 28 Σεπτεμβρίου 2017, ο/η Lester Caine <lester at lsces.co.uk> έγραψε:
 

 On 28/09/17 18:46, Stathis G. Arapostathis wrote:
> Well, actually, I cannot see it :) There is no php_mapscript.so file
> inside that directory
That is what I actually suspected. So either you need to find where
php_mapscript.so HAS been installed, if you think it has, and correct
the php.ini file to access it in the right place.

I'm on suse and have a repo which provides all the mapping stuff I use
...
https://gis.stackexchange.com/questions/217947/how-compile-install-php-mapscript-on-ubuntu-16-04
turned up on a quick scan for ubuntu ... but there may be a better
alternative if there is a ubuntu user here?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170928/44039f7e/attachment.html>


More information about the mapserver-users mailing list