! Can APACHE + PHP in WINDOWS allow PHP to implement SHELL operations?
Source: Internet
Author: User
Help! In WINDOWS, can APACHE + PHP allow PHP to implement SHELL operations! In some cases, some data must be output in IE before you can view the source code! However, in the LINUX environment, you can directly add PHP & nbsp; to the system process to implement SHELL operations, for example, [#/v for help! In WINDOWS, can APACHE + PHP allow PHP to implement SHELL operations!
In some cases, some data must be output in IE before you can view the source code! However, in the LINUX environment, you can directly add PHP to the system process to implement SHELL operations, as shown in:
[#/Var/www/]: php index. php
Then, the script code result in index. php is output on the screen!
I must d: \ php e: \ www \ index. php
Is there any way to implement SHELL operations like in linux in WINDOWS?
------ Solution --------------------
You can add the php.exe directory to the environment variable, which is the PATH directory of the system.
------ Solution --------------------
For Windows XP
Control panel-> System-> Advanced-> environment variables
Modify the >>> PATH <In The System environment variable to add the php installation directory (for example, from c: \ php5) to it,
Separate directories with semicolons.
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