Hi I have installed curl and curl-devel, but i still can't get curl to work with php.
My php config line:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-mysql' '--with-zlib' '--enable-mbstring' '--with-pdo-mysql' '--prefix=/php-5.3.3' '--with-config-file-path=/php-5.3.3' '--with-mysqli=/usr/bin/mysql_config'
Installed curl packages:
curl.i386 7.16.4-1.fc7 installed curl-devel.i386 7.16.4-1.fc7 installed
After installing curl #yum curl it should auto enable it for php, but curl still not available in php.
Thanks in advance.
Best Answer
You need to add --with-curl to php's configure
Or try this since you already compiled if you still have the source.. not sure
Then enable the extension in php.ini. It will be a .so file not a .dll