[Cartoweb-users] Setting up Cartoweb3.1 Demo
alexandre.saunier at camptocamp.com
Wed Nov 16 07:16:24 EST 2005
it seems that you are using MS4W which provides PHP4.4.0 in its latest
version. The problem is that CartoWeb3 requires PHP5!
For instance, at line 50 of Common.php there is a "public" keyword, only
available in PHP5. That's probably the reason of your parse error.
We are preparing a Windows installer for CartoWeb based on WAMP
(http://www.wampserver.com/en/index.php), that provides PHP5 and all
other needed components. We'll post on the ML when it is ready. In the
meantime it is possible to install WAMP and then follow the manual
installation instructions, available at:
Paul Shapley a écrit :
> Dear List Users,
> I'm new to Cartoweb. I'm having a problem getting the Demo
> (client.php) to display.
> The error is;
> Parse error: parse error, expecting 'T_OLD_FUNCTION' or 'T_FUNCTION'
> or 'T_VAR'or '}" in c:\ms4w\Apache\htdocs\cartoweb3\common\Common.php
> on line 50
> It seems to be linked somehow to the Mapscript.dll
> If i display the 'info.php' page there is another error:
> Warning: dl(): Unable to load dynamic
> library'/ms4w/Apache/php/extensions/mapscript.dll' - The specified
> module could not be found. in
> c:\ms4w\Apache\htdocs\cartoweb3\htdocs\info.php on line 10
> WARNING: can't load mapscript library
> Has anyone had this problem. Should i have used 'wamp' instead of 'ms4w'?
> Paul Shapley
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
More information about the Cartoweb-users