Comments on: How to Use and Execute PHP Codes in Linux Command Line – Part 1 https://www.tecmint.com/run-php-codes-from-linux-commandline/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Wed, 13 Jan 2021 06:47:53 +0000 hourly 1 By: pradeep https://www.tecmint.com/run-php-codes-from-linux-commandline/comment-page-1/#comment-1414567 Wed, 13 Jan 2021 06:47:53 +0000 http://www.tecmint.com/?p=14537#comment-1414567 Hi,

As I’m facing an issue with the php scripts which are not executing in the web browsers, request your suggestion for the same.

Here I’m attaching the scripts for your better understanding

http://122.99.99.234:9999/callcount.php

]]>
By: akmal https://www.tecmint.com/run-php-codes-from-linux-commandline/comment-page-1/#comment-1231607 Sun, 25 Aug 2019 17:32:43 +0000 http://www.tecmint.com/?p=14537#comment-1231607 Just type it in command line.
php -r 'echo "hello world!";'

]]>
By: Charles https://www.tecmint.com/run-php-codes-from-linux-commandline/comment-page-1/#comment-1095754 Tue, 15 Jan 2019 15:39:46 +0000 http://www.tecmint.com/?p=14537#comment-1095754 when after creating the file info.php and I execute it I get the code back instead of its execution:

]]>
By: Dan https://www.tecmint.com/run-php-codes-from-linux-commandline/comment-page-1/#comment-698216 Fri, 30 Oct 2015 15:08:45 +0000 http://www.tecmint.com/?p=14537#comment-698216 I liked the article, am about to read the 2nd in the series.

this line
< >
is a little confusing, perhaps it should be
Next thing, we do is to test to see if php is installed correctly or not. We can do this by creating a file

Thanks for the hard work publishing these,

]]>
By: Mikhail P. -BLR- https://www.tecmint.com/run-php-codes-from-linux-commandline/comment-page-1/#comment-619799 Fri, 10 Jul 2015 10:36:06 +0000 http://www.tecmint.com/?p=14537#comment-619799 I have long been used as the php scripting language for command line. I would like the development of this article. thanks.

]]>