Open the windows: 1. Copy the libeay32.dll, ssleay32.dll, php5ts.dll, php_curl.dll files in the PHP directory to the system32 directory. 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); ?>
Open 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
.
This extension library is still very good and is a valid alternative to fsockopen and more.
Method 2 Enter the source directory of the original php,
cd ext cd curl phpize ./configure --with-curl =DIR make will be under PHPDIR/ext/curl /moudles/Generate a file for curl .so.
Copy the curl .so file to the extensions configuration directory, modify php.ini just fine
As you can see from the prompts, this upgrade will result in the inability to restore the domain to
When the SVN client is used as described above, the SVN server used is usually ext
After a long-running website program of the company, the speed is slower. Aft
There are many popular servers at present, and some professional-grade FTP servers
Solve the problem that the Exchange server can't send information
Lnmp cancels nginx directory PHP execution permission
Deploy ASP.NET MVC application under IIS 6
Server Purchasing Cheats: Choose what you want to know
Hadoop datanode reload failed to start solving
There is no .NET2.0 option card solution in IIS
Common FTP Server Password Security Policy
The IIS configuration file backdoor
Dealing with Windows 2003 server management problems
How to establish a cloud environment virtual server connection?
Windows7 system hard disk merge partition method
Windows 10 mail application already supports TLS protocol Default disable
What is the speed of the computer will be faster
Windows xp system taskbar settings
How to delete Win10 recycle icon
3 ways to open Win8 screen keyboard
Solution for insufficient computer virtual memory
Computer wants to add memory and solid state, it is necessary, how big is the appropriate
Easy to use - a brief description of the display correction function in Windows 7