Tag: Execute PHP Script from command line

Execute PHP Script from command line in Ubuntu

Some times there is a great requirement to execute some codes of PHP immediately, but for that we have to format the output according to HTML format since generally PHP scripts are executed using LAMP. For example if we want to fetch some data from a table of RDB using PHP and need to see …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/execute-php-script-from-command-line-in-ubuntu/