Phpcurl extension enabled

Source: Internet
Author: User
Install php_curl extension in the window when phpcurl extension is enabled. 1. find php. modify extensionphp_curl.dll in ini and remove the semicolon. Note that php is in phpinfo. the php_curl extension under ini pathpattern tulinux supports 1. create a test in the web server directory (varwww in Ubuntu. p php curl extension enabled
Install php_curl extension support in Windows

1. find php. ini

Modify extension = php_curl.dll and remove the semicolon;
Note the path of php. ini in phpinfo ().

Support for php_curl extension in ubuntu linux
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: phpinfo ();
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)
# Sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Congratulations, PHP5 cURL has been installed. Remember to restart the Apache server
# Sudo/etc/init. d/apache2 restart
If the problem persists, edit your php. ini file (my file is/etc/php5/apache2/php. ini) and add a line at the end:
Extension = curl. so
Save the file and restart the Apache server.

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.