PHP/Mapscript as a module, curl

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Mon Mar 20 07:19:05 EST 2006


Hi list,

I am having a problem when using PHP/Mapscript as a PHP Module. One of my
layers comes from a remote WMS, and this needs to go through a proxy. I have
set the http_proxy environment variable.

When using PHP as a CGI, the map draws the remote WMS layer just fine. When
I switch to PHP as a module, the remote WMS layer does not show up anymore
(it does not time out either since the map returns blazingly fast).

Environment is PHP/Mapscript 4.8.1, Red Hat Enterprise 3 with PHP 4.3.11.

Has anybody experienced something similar? Does anybody have this type of
configuration working (PHP as a module, remote WMS accessed through curl)?

Thanks in advance.

Best regards,
Bart


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list