[mapserver-users] Fatal error: Call to undefined
function ms_newMapObj() in.........
dmorissette at mapgears.com
Thu May 29 10:15:30 EDT 2008
Νίκος Παπαδάκης wrote:
> I try to use pamscript with php by running the following file but i
> receive the following error message:
> *Fatal error*: Call to undefined function ms_newMapObj() in
> *C:\ms4w\Apache\htdocs\phpms_hello.php* on line *5.*
> File name : phpms_hello.php in C:\ms4w\Apache\htdocs
You get this because the php_mapscript.dll is not loaded in your PHP
environment. One way to solve this is to load it using the dl() command
at the beginning of your PHP script, e.g.
More information about the mapserver-users