gpt4 book ai didi

php - 在自定义构建的 php7 上启用 Curl

转载 作者:行者123 更新时间:2023-12-04 18:30:07 25 4
gpt4 key购买 nike

我编译和安装php7如下

./configure --enable-bcmath --with-bz2 --enable-calendar --enable-exif --enable-dba --enable-ftp --with-gettext --enable-mbstring --with-mcrypt --with-mhash --enable-pcntl --with-pspell --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-zlib --enable-zip --with-readline  --enable-debug --enable-maintainer-zts --enable-pthreads --prefix=/usr --with-config-file-path=/etc --prefix=/usr/local/php7



# sudo make
# sudo make install

问题是,我需要重建和安装 php7 --带 curl .如何完全删除已安装的编译版本以从 shell 执行。

最佳答案

php -i 的输出看,您似乎正在尝试加载 php_curl.dll这是 Curl 的 Windows 版本。尝试加载 php_curl.so反而。

关于php - 在自定义构建的 php7 上启用 Curl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37510754/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com