2

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.

1 Answers1

2

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.

Chris
  • 5,571
  • 2
  • 20
  • 32