Home > Backend Development > PHP Tutorial > php-curl使用

php-curl使用

WBOY
Release: 2016-06-23 14:35:28
Original
904 people have browsed it

编译:

$ cd $PHP_SOURCE/ext/curl
$ $PHP_DIR/bin/phpize
$ ./configure --with-php-config=$PHP_DIR/bin/php-config
$ make
cp modules/curl.so $APACHE_HOME/modules
编辑php.ini
extension_dir = "$APACHE_HOME/modules/"
extension=curl.so

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template