php-curl使用

WBOY
WBOYOriginal
2016-06-23 14:35:28901browse

编译:

$ 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

Statement:
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