[Chameleon] PHP safe mode

Eijnden, B. van den (Bart) b.vdeijnden at agi.rws.minvenw.nl
Thu Apr 13 03:31:45 EDT 2006


Hi list,

just wanting to let you all know that we have managed to succesfully run
Chameleon under PHP safe mode (PHP 4).

Here are the little tweaks we had to do:

1) have all the scripts and directories owned by apache (Linux only)

2) add GDFONTPATH to the allowed list of environment variables (this is
needed for the buttonizer which uses putenv):
safe_mode_allowed_env_vars = PHP_,GDFONTPATH

3) make sure the wmsparse utility can be executed:
safe_mode_exec_dir
=/data/geoservices-50/apps/chameleon/htdocs/common/wmsparse/linux/

4) add the Mapscript module to php.ini (extension=) since dl's are not
allowed
extension=php_mapscript.so.4.8.1

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 Chameleon mailing list