bash - How to pass arguments to a script invoked by source in php exec?
one text
Solution:
Could you try this please ?
export VARIABLE="Execution Test" && php -f script.php
And in your script.php
<?php
print_r(getenv("VARIABLE"));
Sourceone text
Could you try this please ?
export VARIABLE="Execution Test" && php -f script.php
And in your script.php
<?php
print_r(getenv("VARIABLE"));
Source