pvm
pvm copied to clipboard
injecting PHP_FOLDER environment var in bat / sh files
Hello devs!
I made this change to inject the php directory path as environment variable. In this way is possible to use $PHP_FOLDER in php.ini configuration file. With this variable, I can set paths in php.ini relative to php directory.
e.g.:
auto_prepend_file = ${PHP_FOLDER}\scripts\auto_prepend.php
auto_append_file = ${PHP_FOLDER}\scripts\auto_append.php
error_log = ${PHP_FOLDER}\logs\php_error.log