How to Install cURL support under Uniform Server 3.5 Apollo
Uniform Server 3.5 Apollo is an excellent environment for those of us who, for whatever reason, use Windows for PHP development. Unforunately it comes without cURL support. After a bit of digging I figured out (i’m no linux sysadmin) how fairly simple it is to get cURL up and running with uniserver.
The following assumes that you have Uniform Server installed in “%ProgramFiles%\Uniform Server\”. If you have it somewhere different just modify the instuctions accordingly.
In the php.ini file located in “%ProgramFiles%\Uniform Server\udrive\usr\local\php”, search for the following line:
;extension=php_curl.dll
and enable curl by removing the semicolon as follows
extension=php_curl.dll
It’s not quite as simple as that. You’ll need three dll files for cURL to actually function. Luckily you can get them here.
http://jamazon.co.uk/files/uniserver_curl.zip
Download and unzip the file above. You should end up with three relevant looking dlls
ssleay32.dll
copy into “%ProgramFiles%\Uniform Server\udrive\usr\local\apache2\bin”
libeay32.dll
copy into “%ProgramFiles%\Uniform Server\udrive\usr\local\apache2\bin”
php_curl.dll
copy into “%ProgramFiles%\Uniform Server\udrive\usr\local\php\extensions”
Then just start (or restart) Uniform Server for the changes to take effect.
You can take a look at the output of phpinfo() or run the following code to determine whether or not cURL is installed.
<?
if (!function_exists('curl_init')){
die('Sorry, cURL support is not installed');
}
echo "Yay! cURL support is Installed!";
?>
Bob’s your uncle!
Posted in Web | Tagged with: "uniform server", apache, curl, PHP, uniserver, windows


June 13th, 2009 at 11:01 am
Thanks for this there are so many posts out there saying just to enable it in php.ini your instructions meant I am up and running in 5 minutes, thanks for this.
February 12th, 2010 at 11:52 am
Thanks, saved me alot of headaches.
K!
March 31st, 2010 at 11:08 am
Thanks, excellent and easy to follow.