[maplab-users] dbase.so and php_dbase.dll --- php_mapscript.so
Zak James
zak-ms at hoppsan.org
Mon Aug 30 13:33:23 EDT 2004
Mark,
Try just adding a symlink at the location php expects to find it,
pointing to your version. I'm guessing this discrepancy is because you
are using PHP 5, though I don't know for sure.
i.e. ln -s /usr/lib/httpd/modules/php_mapscript.so
/usr/local/lib/php/extensions/no-debug-non-zts-20040412/
php_mapscript.so
However, be sure that the mapscript.so you are pointing to is the one
built against the php version you are using.
zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
On Aug 30, 2004, at 10:59 AM, Mark M wrote:
> Zak,
>
> I also noticed they didn't match. Not sure what this is about. I tried
> recompiling PHP to fix this but I still saw the error. It was late at
> night and I ran out of ideas. Soooo, any thoughts?
>
> Mark
>
> ----- Original Message -----
> From: Zak James <zak-ms at hoppsan.org>
> Date: Mon, 30 Aug 2004 09:38:59 -0400
> To: "Mark M" <fosters4all at beer.com>
> Subject: Re: [maplab-users] dbase.so and php_dbase.dll ---
> php_mapscript.so
>
>> Mark,
>>
>> Your extensions directories don't match. Is that just a typo?
>>
>>>
>>> /usr/local/lib/php/extensions/no-debug-non-zts-20040412/
>>> php_mapscript.s
>>
>>> o
>> !=
>>> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
>>> php_mapscript.so
>>
>> zak
>> --
>> Zak James
>> Applications and Software Development
>> DM Solutions Group Inc.
>> http://www.dmsolutions.ca
>>
>>> On Aug 29, 2004, at 9:04 AM, Mark M wrote:
>>
>>> It's one step forward and two steps back, much like a politican! :) I
>>> removed all PHP from my system and started again from scratch. With
>>> the new builds (of php and mapserver), I can access php scripts and I
>>> can use mapserver on its own (ie Itasca demo) but when I try to load
>>> php_mapscript.so I get;
>>>
>>> Warning: dl() [function.dl]: Unable to load dynamic library
>>> '/usr/local/lib/php/extensions/no-debug-non-zts-20040412/
>>> php_mapscript.so' -
>>> /usr/local/lib/php/extensions/no-debug-non-zts-20040412/
>>> php_mapscript.so: cannot open shared object file: No such file or
>>> directory in /var/www/html/info.php on line 2
>>>
>>> When I locate the library it is at;
>>> /usr/lib/httpd/modules/php_mapscript.so
>>> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
>>> php_mapscript.so (symbolic link)
>>>
>>> Any suggestions to get past this?
>>>
>>> Mark
>
> --
> _______________________________________________
> The coolest e-mail address on the web and it’s FREE! Sign-up today
> for Beer Mail @ beer.com.
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>
More information about the Maplab-users
mailing list