& Nbsp; enabling curl or adding curl is a code. This document assumes that your deployment tulinux has installed the LAMP environment. For more information about the LAMP environment, click Ubuntu10.04LAMPServer installation tutorial. First, check whether your php5 has been installed with curl. The method is as follows: 1. in the web server directory (whether to enable curl for Ub or install curl is also a matter of code. This document assumes that the LAMP environment has been installed in Ubuntu Linux. For more information about the LAMP environment, see the simple installation tutorial for Ubuntu 10.04 LAMP Server.
First, check whether your php5 has been installed with curl. The method is as follows:
1. create a test. php file in the web server directory (usually/var/www in Ubuntu ).
2. edit the file and type the following code:
3. Save the file
4. open your browser and browse the webpage. (For example, http: // localhost/test. php)
5. search for "curl" to see if curl has been installed. If it is not found, it is definitely not installed. to install it, please refer to the following.
The installation method is simple. you only need one command. (Here we choose to install apt-get directly, because it is much easier than self-compiling, and you do not need to configure anything yourself)
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