[ka-Map-users] Precache.php fails: "This build of mapscript can't
be load as a 'cli' module..."
Paul Spencer
pspencer at dmsolutions.ca
Tue Jul 18 12:28:07 EDT 2006
:o three steps ahead of me! I suspect that mapserver picks up the
php configuration when you build it so perhaps you need to rebuild
the php that mapserver is built against as a cli?
you would need to modify precache to remove this check and then it
should work I think. Actually, you may need to fix a couple of other
initialization steps, but it should be workable.
Cheers
Paul
On 18-Jul-06, at 11:52 AM, Steve Walker wrote:
> Thank you Paul.
>
> I did already know the that this was the problem
>
>> precache is running as a command line (cli) app and your mapserver
>> was built to be run in a php module.
>
> ... and that this would be the solution:
>> You need to rebuilt mapserver
>
> but my review of Mapserver's configure/build options didn't
> enlighten me.
>
> ... and I had also already tried this:
>> OR hit precache.php through the web server.
>
> to find that it returns 'This is a command line utility'
>
>
> -steve
>
> --
> Steve Walker
> Middle Fork Geographic Information Services
> walker at mfgis.com
> 360-671-2505
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list