<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Yes it's the 5.6 version of PhP since my app is not compatible with the latest version.</div><div><br></div><div><br>>My next step would be to check php can >actually see the .so file, but<br>>properly compiled extensions should >already be in the right place.</div><div><br></div><div>Any idea on how this could be done?</div><div><br></div><div>Thank you</div><div>Stathis</div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Στάλθηκε από το smartphone Samsung Galaxy.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Αρχικό μήνυμα --------</div><div>Από: Lester Caine <lester@lsces.co.uk> </div><div>Ημερομηνία: 27/9/17 7:03 μ.μ. (GMT+02:00) </div><div>Προς: mapserver-users@lists.osgeo.org </div><div>Θέμα: Re: [mapserver-users] php-mapscript installation in Linux </div><div><br></div></div>On 27/09/17 16:51, Stathis Arapostathis wrote:<br>> I am running Apache2 server along with MapServer in an Ubuntu 16.04 LTS.<br>> However, while I am trying to load an application I am receiving an<br>> error message which according to the log file is the following:<br>> <br>> /"PHP Warning: PHP Startup: Unable to load dynamic library<br>> '/usr/lib/php/20131226/php_mapscript.so' -<br>> /usr/lib/php/20131226/php_mapscript.so: cannot open shared"/<br>> <br>> As I understand my application requires the php-mapscript package to be<br>> installed, right?<br>> <br>> Could anyone help on how could I install that package and make it<br>> "recognizable" in Apache2 and MapServer?<br>> <br>> PS: I had found a package in prior and installed it with the sudo gdebi<br>> command (as it was a single .deb file and not in a repository) but it<br>> seems that something is missing regarding the proper installation.<br><br>Starting point is to ensure that the php_mapscript.so was complied for<br>the same version of PHP you are running. With the php extensions, the<br>static components need to match. 20131226 suggests quite an old php build!<br><br>My next step would be to check php can actually see the .so file, but<br>properly compiled extensions should already be in the right place.<br><br>-- <br>Lester Caine - G8HFL<br>-----------------------------<br>Contact - http://lsces.co.uk/wiki/?page=contact<br>L.S.Caine Electronic Services - http://lsces.co.uk<br>EnquirySolve - http://enquirysolve.com/<br>Model Engineers Digital Workshop - http://medw.co.uk<br>Rainbow Digital Media - http://rainbowdigitalmedia.co.uk<br>_______________________________________________<br>mapserver-users mailing list<br>mapserver-users@lists.osgeo.org<br>https://lists.osgeo.org/mailman/listinfo/mapserver-users</body></html>