[mapserver-dev] PHP Mapscript
thomas bonfort
thomas.bonfort at gmail.com
Wed Oct 3 05:11:17 PDT 2012
On Wed, Oct 3, 2012 at 2:09 PM, Daniel Morissette
<dmorissette at mapgears.com> wrote:
> Does the same mapfile work with the mapserv CGI or shp2img?
>
> Does your script crash with any mapfile or just that one?
>
> BTW, Thomas, the mapObj constructor loads and parses the mapfile, so there
> is some MapServer code which is called, but nothing in GD yet.
Daniel, I did not see any reference to mapserver/mapscript in the
provided backtrace, that's what I meant.
>
> What about REGEX? Is the PHP compiled with the system regex? Difference in
> GD and REGEX versions used by PHP and the MapServer core used to be problems
> several years ago, but I thought recent PHP versions had solved those issues
> since we haven't heard of this type of problems in a while.
>
> Daniel
>
>
>
>
> On 12-10-03 3:36 AM, Frank Broniewski wrote:
>>
>> Am 2012-10-03 09:24, schrieb thomas bonfort:
>>>
>>> On Wed, Oct 3, 2012 at 9:21 AM, Frank Broniewski <brfr at metrico.lu> wrote:
>>>>
>>>> Hi Thomas,
>>>>
>>>> thanks for replying. I wonder if the problem occurs because there are 2
>>>> versions of GD in use, PHP uses its internal version and mapserver
>>>> the one
>>>> from the system, and both mismatch in the minor version. FreeBSD GD is
>>>> gd-2.0.35_8,1, PHP uses [GD Version] => bundled (2.0.34 compatible)
>>>
>>> That could be a plausible reason, yes. Given the backtrace I'm a bit
>>> stumped that this is happening when creating a new mapObj, as there is
>>> no mapserver related function involved.
>>>
>>> --
>>> thomas
>>
>>
>> Unfortunately, compiling PHP with the 'onboad' GD seems ... difficult
>> ... at least. I contacted already the mapserver port maintainer on this
>> issue and he failed to compile PHP with the systems GD version.
>> Do you have any other clues? The backtrace does not yield anything with
>> value for me, especially because mapscript (or gd) doesn't even turn up
>> there.
>>
>> Frank
>>
>>
>
>
> --
> Daniel Morissette
> http://www.mapgears.com/
> Provider of Professional MapServer Support since 2000
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list