xp-forge / lambda

AWS Lambda for the XP Framework
3 stars 0 forks source link

Exception lang.IndexOutOfBoundsException (Undefined index: XP_VERSION) #10

Closed thekid closed 2 years ago

thekid commented 2 years ago

For $_ENV to work, php.ini variables_order must contain 'E' (see See https://www.php.net/manual/en/ini.core.php#ini.variables-order). However, on Ubuntu, this is the default:

$ xp -w 'ini_get("variables_order")'
GPCS

We should use getenv()