Strange dl("php_mapscript.so") behavior

Stefan Schwarzer stefan.schwarzer at GRID.UNEP.CH
Thu Feb 16 09:54:15 EST 2006


Hi,

I ran into a very strange thing:

I run the usual code to get the mapscript library:

			if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
			  dl("php_mapscript_44.dll");
			else
			  dl("php_mapscript.so");


If my php code is correct, everything displays nicely. But once  
something is not correct - a semicolon missing, a bad syntax, etc. -  
the page stays white. As soon as I take the four lines of code away  
(especially the last one), it displays the error messages. But this  
is bad, cause then all my mapscript-related stuff won't work anymore...

Does anyone have an idea why this is?

Thanks for any hints,

Stef

PS: Just for the notes: I am running a Mac, with the kyngchaos  
installation packages.



More information about the mapserver-users mailing list