A
A
asdz2014-11-26 12:42:59
linux
asdz, 2014-11-26 12:42:59

Why is the php script not running from the console?

Ubuntu, php installed. There is a php script file, I run it from the console with the php -f file.php command. Instead of executing the file, its contents are printed to the console. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-11-26
@asdz

Maybe because short_open_tag = off

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question