Opened 18 years ago

Closed 18 years ago

#1840 closed defect (worksforme)

Mapscript / PHP Fatal error: Call to undefined function

Reported by: mendes@… Owned by: assefa
Priority: high Milestone:
Component: MapScript-PHP Version: 4.8
Severity: critical Keywords:
Cc:

Description

My computer run the Current Release of MapServer, with php 5.1.4 and 
php_mapscript_48.dll , I had to configure the php.ini 
inserting "extension=php_mapscript_48.dll",and php.ini is not mismatch 
configure becouse the others extensions run no problem.
When I try any functions of mapscript ,the code is breaked in the line of 
error, and in the error log say:
[Mon Jul 24 18:33:28 2006] [error] [client 192.168.0.2] PHP Fatal error:  Call 
to undefined function ms_GetVersion() in C:\\ms4w\\Apache\\htdocs\\mapa.php on 
line 9..
What I can do to correct that error?

Change History (3)

comment:1 by mendes@…, 18 years ago

My System is WINXP SP2

comment:2 by assefa, 18 years ago

Owner: changed from mapserverbugs to assefa
Where do the binaries come from ? I would suggest to use the current release 
of ms4w 2.1. built with php5.1.4 to do your tests
 After installing, you can try it with a sample application of gmap 
(PHP/MapScript Sample Application on the ms4w Applications Packaged for MS4W) 
by editing the php.ini to add the extension.
 This seems to work for me.
Please comment after test so so we can close the bug.
 

comment:3 by assefa, 18 years ago

Resolution: worksforme
Status: newclosed
Closing bug. Please reopen of there is a problem with the latest ms4w binaries
Note: See TracTickets for help on using tickets.