Execute a PHP script from bash command line
PHP file:
#!/usr/bin/php <?php echo "Hello word"; ?>
from bash command line:
chmod a+x <myfile> apt-get install php-cli ./<myfile>
PHP file:
#!/usr/bin/php <?php echo "Hello word"; ?>
from bash command line:
chmod a+x <myfile> apt-get install php-cli ./<myfile>