2, modify php.ini: configure extension_dir, remove the semicolon in front of extension = php_curl.dll.
3, restart apache or IIS.
Test whether the installation was successful:
<?php$ch = curl_init(); curl_setopt($ch,CURLOPT_URL,"http://www.google.cn"); curl_setopt ($ch,CURLOPT_HEADER,1); curl_exec($ch);curl_close($ch);?>Opening method under linux: Method 1 Install cURL# wget http://curl.haxx.se/download/curl-7.17 .1.tar.gz# tar -zxf curl-7.17.1.tar.gz# ./configure --prefix=/usr/local/curl# make; make install install php just open the switch --with-curl=/Usr/local/curl will do. This extension library is still very good and is a valid alternative to fsockopen and more. Method 2 enters the source code directory of the original php installation, cd extcd curlphpize./configure --with-curl =DIRmakewill generate the curl .so file under PHPDIR/ext/curl /moudles/.
Copy the curl .so file to the extensions configuration directory, and modify php.ini.
1. Introduction to Firewalls Firewall Concept Firewalls can filter datagrams and restrict specific s
For all organizations and companies, data is the most important to them, and even for e-com
After reinstalling Win7, I have never tried to install Linux again, occasionally playing, an
Linux modify file and directory permissions chmod
RedHat configuration image media is yum source
Sublime Text 2 installation under Linux
Linux pipeline and redirection detailed
Never execute the 10 most dangerous commands in Linux
Ubuntu13.04 Use plymouth to modify the splash screen
Linux scripts automatically enter passwords
Modify the linux command prompt line path length
Win7 system weather widget can not be used how to do
Windows 8 application skills big delivery
Win10 start menu Start10 easy to use? Start10 menu operation experience evaluation
How to enable Guest to access the network in XP
MSI Windows 8 tablet with keyboard