This is an old revision of the document!
PHP's gd library is missing or unable to create PNG images
Environment Variables
Dinamica EGO 5 has the option to configure some environment variables in order to provide some configuration customization. Below, it is provided the environment names with their respectively meaning:
- DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_R: Configure an alternative pathway to the R executable RScript.
- DINAMICA_EGO_5_R_CRAN_MIRROR: Configure the server which is better for you get the R packages.
- DINAMICA_EGO_5_TEMP_DIR: Configure an alternative pathway that will store the temporary folder and files created into Dinamica's session.
- DINAMICA_EGO_5_GDAL_TOOLS: Configure an alternative pathway with the GDAL utilities requested by Dinamica, those are 'gdal_rasterize', 'gdal_translate' and 'gdalwarp'.
- DINAMICA_EGO_5_GDAL_TOOLS_DATA: Configure an alternative pathway with the Data requested by GDAL utilities.
Access environment variable
Windows 10
Follow these steps in order to access environment variables:
- Go into Settings and click on System.
- Then on the left side click About and select System info at the bottom.
- In the new Control Panel window that opens, click Advanced system settings on the left.
- Now in the new window that comes up, select Environment Variables… at the bottom.
- Then you will see the environment variables of user and system, and then you will be able to manipulate then, according your user access.
- After manipulation, you have to re-open Dinamica to environment changes be applied.
Linux
Linux has a different way to set environment variables. It is stored in settings files. the fully documentation about environment variables in ubuntu, that is similar to other distros, is here https://help.ubuntu.com/community/EnvironmentVariables.