Yes it's the 5.6 version of PhP since my app is not compatible with the latest 
version.

>My next step would be to check php can >actually see the .so file, but
>properly compiled extensions should >already be in the right place.
Any idea on how this could be done?
Thank youStathis
Στάλθηκε από το smartphone Samsung Galaxy.
-------- Αρχικό μήνυμα --------Από: Lester Caine <les...@lsces.co.uk> 
Ημερομηνία: 27/9/17  7:03 μ.μ.  (GMT+02:00) Προς: 
mapserver-users@lists.osgeo.org Θέμα: Re: [mapserver-users] php-mapscript 
installation in Linux 
On 27/09/17 16:51, Stathis Arapostathis wrote:
>  I am running Apache2 server along with MapServer in an Ubuntu 16.04 LTS.
> However, while I am trying to load an application I am receiving an
> error message which according to the log file is the following:
> 
> /"PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/20131226/php_mapscript.so' -
> /usr/lib/php/20131226/php_mapscript.so: cannot open shared"/
> 
> As I understand my application requires the php-mapscript package to be
> installed, right?
> 
> Could anyone help on how could I install that package and make it
> "recognizable" in Apache2 and MapServer?
> 
> PS: I had found a package in prior and installed it with the sudo gdebi
> command (as it was a single .deb file and not in a repository) but it
> seems that something is missing regarding the proper installation.

Starting point is to ensure that the php_mapscript.so was complied for
the same version of PHP you are running. With the php extensions, the
static components need to match. 20131226 suggests quite an old php build!

My next step would be to check php can actually see the .so file, but
properly compiled extensions should already be in the right place.

-- 
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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to