Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP4 with CURL?

Featured Replies

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*

If you pick up the PHP4 package (same version you're using) from php.net -

http://dk2.php.net/get/php-4.3.11-Win32.zip/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

  • Author

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.

  • 7 months later...

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

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/get/php-5.1.1-Win32.zip/from/a/mirror or ifnot in that one, try http://www.php.net/get/pecl-5.1.1-Win32.zip/from/a/mirror

 

Thanks.

  • 2 months later...
  • 2 weeks later...
  • 2 years later...

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...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.