The following script is executed in the PHP CLI:
<?php echo 'hello world!'; ?>
I can not see anything. How to enable output?
Run it in the terminal:
php -r 'echo "Hello World!\n";'
Looks like you forgot the shebang line. Yours may vary depending on your setup, but you need to point to php somehow.
#!/usr/bin/env php <?php echo 'hello world!'; ?>
Verify that the user has permission to run the file.
Source: https://habr.com/ru/post/1390169/More articles:Vertical alignment inside a DIV, with a block element inside a div - htmlHow to enable common code in android - androidHow to create SQL start and end date? - sqlASP.NET MVC 3 - HttpContext Response Replacement Not Working - asp.net-mvc-3Store one apk file in another apk file - androidWhat programming languages โโcan be used for development in blackberry? - apiHow can I close the application by clicking on android - androidHow do you do automated testing in Google App Engine? - pythonOpening SQL Server Express through JDBC in Mathematica? - wolfram-mathematicaAndroid build error on ubuntu 11.10 - androidAll Articles