简体   繁体   中英

Enable Curl on custom built php7

I compiled & installed php7 as below

./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

The problem is that, I need to rebuilt & install php7 --with-curl . How do I remove installed complied version completely to get executed from shell.

From the looks of the output of php -i , it appears you are trying to load php_curl.dll which is the Windows version of Curl. Try loading php_curl.so instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM