CURL support not found


#1

I am trying to get an auto credit card authorization program to work but I am receiving this error:

“Libary Error: CURL support not found”

I talked to support about it and they told me that they don’t support CURL at this time. If I need this
module installed, I’ll have to compile it myself and installed it
in my own home directory.

Does anybody have any experience at doing this? Is it difficult? and if I started doing it would it mess with the PHP I currently have on my site.

http:// www.Webmasterbids.com - Auction off your web site real estate.


#2

I believe curl should be installed everywhere now (with SSL support as well).


#3

When was it installed because I got the error that it was not installed approx. 1 week ago.

http:// www.Webmasterbids.com - Auction off your web site real estate.


#4

I believe it was installed in some places, but I know that Dallas was installing the SSL version on all machines just a day or two ago - let me know if the error is still happening.


#5

Thanks for your reply, Will.

Yes, I am still receiving it:

https://www.nuienterprises.com/secure/SC/usaepay-php-1.0.0/example.php

http:// www.Webmasterbids.com - Auction off your web site real estate.


#6

Hrmm – this must be referring to something other than the program ‘curl’ – perhaps this is something which must be compiled into PHP?


#7

Will,

Here is the reply I got from support:

“I took a look at your script and noticed that it’s trying to use PHP’s curl module which we don’t have installed on any of our servers. We do have UNIX ‘curl’ command installed but if you need to use the command, you would need to modify your script manually. If you’d prefer to use PHP’s curl modules, you would have to complie your own version of PHP, install it in your home directory and run it as a CGI.”

So here is my question now: how do I compile my own version of PHP? is it semi-easy?, if I start compiling it will it affect the php that is currently being run on the site? can I uncompile it at any time if I see things are getting screwed up?

http:// www.Webmasterbids.com - Auction off your web site real estate.


#8

Hi Irish -

It’s not super easy, but not impossible either. There’s a KBase article on the process here:

https://kbase.newdream.net/index.cgi?area=2538

Will - is there any chance we could provide pre-compiled PHP binaries for people to use? This seems to come up often enough that it might warrant it, rather than have them compile stuff themselves.

  • Jeff @ DreamHost
  • DH Discussion Forum Admin

#9

Yes Will, that would put a big smile on my face :slight_smile:

http:// www.Webmasterbids.com - Auction off your web site real estate.


#10

Jeff,
I checked out:
https://kbase.newdream.net/index.cgi?area=2538 and it looks a way over my head. I would be scared of screwing something up.

http:// www.Webmasterbids.com - Auction off your web site real estate.


#11

https://kbase.newdream.net/index.cgi?area=1103 has a basic explanation of why our installation of php is so stripped down. There is a version with (limited / experimental) GD support at /usr/bin/php, which can be run as a CGI.

Given the number of options to PHP, we can’t possibly support them all (or compile different versions for everyone who needs them)…

No reason to be afraid of building it yourself though - the worst that can happen is that it won’t work.


#12

Curl wasn’t compiled into php before, but it is now! Within the next couple of hours curl should start to work on all php scripts on all of our servers!

yay!

josh!