pvm icon indicating copy to clipboard operation
pvm copied to clipboard

injecting PHP_FOLDER environment var in bat / sh files

Open Lotti opened this issue 1 year ago • 3 comments

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

Lotti avatar Dec 19 '24 10:12 Lotti