wrong with "php_mapscript.so"

Brant Anderson brant at MUDLABS.COM
Thu Aug 12 15:24:00 EDT 2004


temiz wrote:

> hello
>
> I want to run mapserver with php.
> But it seem to be something wrong with "php_mapscript.so".  It recides in
> /usr/local/lib/php/extensions.
>
> dl("php_mapscript.so") is not functioning
>
> How can I know whether it has been compiled properly works functionally ?
>
>
> regards
>
> Ahmet Temiz
>
>
> ______________________________________
> Inflex - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster at deprem.gov.tr
>
> ______________________________________
> The views and opinions expressed in this e-mail message are the
> sender's own
> and do not necessarily represent the views and the opinions of
> Earthquake Research Dept.
> of General Directorate of Disaster Affairs.
>
> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal
> olarak T.C.
> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici
> nitelikte degildir.
>

Hi Ahmet!

I haven't done much with dynamic libraries in PHP, but I think this
command might be useful: php-config --extension-dir

It should tell you the directory where the extensions for PHP reside.
Try moving php_mapscript.so to that directory, then restart the
web-server and run your code again.

Hope it works,
Brant Anderson



More information about the mapserver-users mailing list