Page 1 of 1

php and bash shell scripts

Posted: Tue Mar 02, 2021 4:32 pm
by Vegan
i have assembled several scripts in BASH for maintenance tasks so i know that PHP can be run from the console as well

this idea suggests I can use linux to test and develop some functions for later use elsewhere

Code: Select all

<?php
echo 'Current PHP version: ' . phpversion();
echo 'More Info: ", phpinfo();
?>