Ask how to run the PHP program without installing the Web server

Source: Internet
Author: User
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
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.