PHP Command Line not running PHP files? -


I am currently firing PHP from my Windows Command Prompt. Using:

  C: \ xampp \ php> php -fc: \ Uncrypt.php  

Which output:

■ & lt; ? PHPEC HO "TT"; ?

Which is strange, according to the help document php -h , the switch of -f should be:

< Blockquote>

-f parse and execution

But, it is not working. PHP is correctly installed & amp; Work while walking through the browser, and:

  C: \ xampp \ php> php -v  

spits out:

PHP 5.6.3 (CLI) (Created: 12 November 2014 17:18:08)

Copyright (c) 1997-2014 PHP Group

Zend Engine v2 6.0, Copyright (C) 1998-2014 Jade Technologies

this means that the command line interface to PHP.exe command reaches this.

I also am having enough Pathac environment variable (user and system search

both), PATH variable appears the root cause, but running PATH removes my PHP directory and Notepad can be attached file associations ++ (possible error?)


according to the request, here is the content of the PHP file (screenshot with subsequent encoding)

  & lt ;? Php echo "tt"; ? & Gt;  

encoding and file content

< P>

You can also try without -f . There are earlier issues before me.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -