Jump to content


Photo

PHP4 with CURL?


  • Please log in to reply
11 replies to this topic

#1 Gian_Krl0

Gian_Krl0

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 31 July 2005 - 03:48 PM

I want to use my installation of Uniform Server 3.2 with my ADSL connection and the service of StacticDNS of DynDNS.com, for serve scripts in PHP4 (I've installed PHP4 plug-in).

But this scripts need to have PHP4 with CULR enabled, I see in PHPinfo and I not view signs of CURL.

Please, how I can install CURL and enable this for PHP4 in Uniform Server 3.2 ?

Thank you very much in advance!

*excuse me by my bad english*

#2 AlleyKat

AlleyKat

    Project Helper

  • Super Moderator
  • PipPip
  • 84 posts
  • Location:Odense, Denmark
  • SourceForge IDdk_alleykat
  • IRC Nickname: (@)AlleyKat :P

Posted 31 July 2005 - 07:04 PM

If you pick up the PHP4 package (same version you're using) from php.net -
http://dk2.php.net/g...p/from/a/mirror -
and in this file, find
php-4.3.11-Win32.zip\php-4.3.11-Win32\extensions\php_curl.dll
and copy this to your
W:\usr\local\Php\extensions\
folder, you'll have curl available in PHP AFAIK.

Last step is enabling it in php.ini - just find the line
;extension=php_curl.dll
in W:\usr\local\Php\php.ini and remove the leading ; (comment-tag).
Restart Apache, and curl should work. I hope.

:P And version # fixed to 4.3.11 Olajide

#3 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 31 July 2005 - 07:24 PM

You have to download PHP 4.3.11 not 4.4 :P PHP 4.4 plugin is coming soon.. ;)

#4 Gian_Krl0

Gian_Krl0

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 02 August 2005 - 08:21 PM

Thanks by your help!

But to obtain that it works I had to copy two archives associated to php_curl.dll, these come in PHP's package: ssleay32.dll and libeay32.dll

According to install.txt (inside of php-4.3.11-Win32.zip), these two archives must be copied in two places:
W:\usr\local\Php\
W:\usr\local\Php\dll\

After this, CURL appears like activated in PHPinfo.
Now, I hope that it works without problems :P

Again, thank you very much.

#5 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 02 August 2005 - 09:19 PM

No Problem, and thank you.. :P

#6 orazal

orazal

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 11 March 2006 - 03:39 AM

I'm a really unexperienced and uninformed user so excuse me if I'm overlooking something obvious.
I come from the Flash community and trying to run amfphp but I need curl to do so.
I'm on Uniform Server 3.3 with PHP 5.1.1
I have tried the previous method but I get the following message:
"Unable to load dynamic library '/usr/local/PHP/extensions\php_curl.dll" although the file is in that path.
I suppose this is because the file comes from PHP 4.3.11
Do I need to downgrade to PHP4 for CURL to work?

Much thanks

#7 AlleyKat

AlleyKat

    Project Helper

  • Super Moderator
  • PipPip
  • 84 posts
  • Location:Odense, Denmark
  • SourceForge IDdk_alleykat
  • IRC Nickname: (@)AlleyKat :P

Posted 17 March 2006 - 08:20 AM

No, find CURL for php5:
http://dk.php.net/ge...p/from/a/mirror

#8 Morpheus

Morpheus

    Newbie

  • Member
  • Pip
  • 5 posts
  • SourceForge IDx
  • Wiki ID: x
  • IRC Nickname: x

Posted 21 March 2006 - 02:37 PM

Hi, AlleyKat.

Can you expand a bit on how to get curl running with the latest Uniform Server (PHP 5.1.1) please?

I downloaded the archive you specified but it didn't contain any curl-related fies that I could see.


No, find CURL for php5:
http://dk.php.net/ge...p/from/a/mirror

View Post



#9 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 23 March 2006 - 09:07 PM

Download PHP 5.1.1 from here: http://www.php.net/releases.php and find the extention in there. Make sure i got the version right.

Direct Link: http://www.php.net/g...p/from/a/mirror or ifnot in that one, try http://www.php.net/g...p/from/a/mirror

Thanks.

#10 ahmedhoukry

ahmedhoukry

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 30 May 2006 - 07:31 AM

dear all
i installed php_cutl.dll

enabled curl

but i get this error

libeay32.dll not found

#11 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 08 June 2006 - 09:54 PM

Check all the folders of the default PHP Installation.... that file should be there... if its not, i know MySQL has it for sure.

#12 OPTIMUSPRIME

OPTIMUSPRIME

    Newbie

  • Member
  • Pip
  • 1 posts
  • Main OS: Windows XP

Posted 30 September 2008 - 09:54 AM

Hmm same problem need curl to work in php4 instead of 5 but can't find 4 we need solution for php4 not 5




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users