On Windows 7, how does one install and configure environment variables for wget?
Source: Internet
Author: User
On Windows 7, how does one install and configure environment variables for wget ???????? I downloaded a lot of wget files and exe files. I learned how to install and configure environment variables on the Internet. However, you can use this command only when you enter this directory on the console. Php exec functions cannot execute this command. Why ???? The following is an online step ????????
I downloaded a lot of wget files and exe files. I learned how to install and configure environment variables on the Internet. However, you can use this command only when you enter this directory on the console. Php exec functions cannot execute this command.
Why ????
The following are the online steps :::
《《《《《《《《
Double-click installation
2. create a new system environment variable
GNU_HOME = C: \ Program Files \ GnuWin32
3. Add path
========================
; % GNU_HOME % \ bin
========================
"Wget ??? Php wget php win7 shared:
------ Solution --------------------
Find the wget directory and add it to the PATH.
------ Solution --------------------
You can use this command only when you enter this directory on the console.
This indicates that the wget directory is not added to the system path, which is not commonly used or not required.
At the same time, if php is to be called, it will use the complete path. Otherwise, how can it be run if it cannot be found?
------ Solution --------------------
Do not install it in C: \ Program Files
Uninstall and reinstall it in the directory of D: \ Program Files or other non-C disks.
Because C: \ Program Files cannot grant full control to anonymous users
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