How do I run a PHP program without installing a Web server?
Do not install the Apache and other Web servers, loaded with PHP, how to run the PHP program? is a remote server space, not local.
------Solution--------------------
That's definitely not going to work. You go to Baidu "Wamp", download a installation can run PHP
------Solution--------------------
Yes, run directly in CLI mode, see http://php.net/manual/zh/features.commandline.php
------Solution--------------------
CLI way to run PHP is to see the results of the operation.
http://php.net/manual/zh/features.commandline.php
------Solution--------------------
is the remote server space
Then you should not have permission to run PHP in the CLI mode.
------Solution--------------------
It's easy to pack an integration, and it'll be done in a minute!!
------Solution--------------------
References:
is the remote server space
Then you should not have permission to run PHP in the CLI mode.
+1
You must indicate how to invoke PHP
PHP is also a running file, do not give permission to run the word ... Chaos
------Solution--------------------
If you can install PHP on the remote server, it can also be installed in an environment, so as to facilitate debugging. Recommended installation Environment!
------Solution--------------------
PHP 5.3 or more can start a Web service with Php-s and other methods, you can access your page in a localhost:xxxx way.
------Solution--------------------
http://php.net/manual/en/features.commandline.webserver.php
See here for details