<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #330099"><div data-marker="__SIG_PRE__">hello,</div><div data-marker="__SIG_PRE__"><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__">I'm trying to update an installation from (<span id="DWT6134" class="ZmSearchResult"><span id="DWT6138" class="ZmSearchResult">mapserver</span></span> / mapscript 6.4) to (<span id="DWT6136" class="ZmSearchResult"><span id="DWT6140" class="ZmSearchResult">mapserver</span></span> mapscript/swig 7.4) on a new debian server. <br><br>I have no troubles with wms/wfs services but when I'm trying to use mapscript functions, i have these problems </div><div data-marker="__SIG_PRE__">~$ php -a <br>Interactive mode enabled <br><br>php > dl("php_mapscriptng.so"); <br>php > $map= new_mapObj("mymap.map"); <br>php > $p=new_pointObj(1, 1); <br>php > $p->toString(); <br>PHP Warning: Uncaught Error: Call to a member function toString() on resource in php shell code:1 <br>Stack trace: <br>#0 {main} <br>thrown in php shell code on line 1 <br>php > echo mapscript.msGetVersion(); <br>PHP Warning: Use of undefined constant mapscript - assumed 'mapscript' (this will throw an Error in a future version of PHP) in php shell code on line 1 <br>mapscriptMapServer version 7.4.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE </div><div data-marker="__SIG_PRE__"><br><br>It seemed no problem with the constructor method but when I try to use methods of the object i have heses errors <br>Could you help me ? <br>Thank you <br><br><br></div></div></body></html>