Jump to content
The Uniform Server Community
Sign in to follow this  
tnteveret1

CURL Install

Recommended Posts

Need CURL installed and have not been able to get it running.

Uniform Server 3.5-Apollo

Version: Apache/2.0.59 (Win32) DAV/2 PHP/5.2.3

 

The first recommendation I found was to just add the php_curl.dll and modify the php.ini file, this presented other file warnings for ssleay32.dll and libeay32.dll, still after putting these files in the Windows path I can not get past the warnings in my application that CURL is not installed.

"CURL not compiled into PHP - notify server administrator"

 

Any help would be appreciated.


LAUNCH Your Very Own Money Making Website Today!

Are you ready to Pull In Massive Residual Profits Right Now..?

Click Here to Activate Your Very Own Income Stream Now!

Share this post


Link to post
Share on other sites

It may be a problem with pick and mix. All files must come from the same compiled version of PHP

 

1) In php.ini folder *\Uniform Server\udrive\usr\local\php

Search for this line:

;extension=php_curl.dll

Change to:

extension=php_curl.dll

 

2) Run the attached file in a new folder it contains three files

 

ssleay32.dll --- Copy to folder *\Uniform Server\udrive

libeay32.dll --- Copy to folder *\Uniform Server\udrive

 

php_curl.dll --- Copy to folder *\Uniform Server\udrive\usr\local\php\extensions

 

3) Restart the servers for the new settings to be picked-up

 

I ran this test code

 

// is curl installed?

if (!function_exists('curl_init')){

die('CURL is not installed!');

}

 

// create a new curl resource

$ch = curl_init();

echo "OK";

?>

 

If it displays OK your code should work.

 

All the best

Ric :)

files_for_curl.exe

Share this post


Link to post
Share on other sites

ssleay32.dll --- Copy to folder *\Uniform Server\udrive

libeay32.dll --- Copy to folder *\Uniform Server\udrive

 

Is this correct?

Share this post


Link to post
Share on other sites

What do you mean?

The "*\Uniform Server\udrive" folder is the one mapped to the W:\ drive when you've started the server and the "ssleay32.dll" and "libeay32.dll" files are provided in "files_for_curl.exe" that Ric has attached to his post; or are you saying that you've followed all the instructions above but curl still doesn't work?

Share this post


Link to post
Share on other sites

Is this correct?

 

I changed the location for both files to

*\Uniform Server\udrive\usr\local\apache2\bin

and it worked.

 

Very nice and short doc.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...