Koozali.org: home of the SME Server

Curl And/or GD

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Curl And/or GD
« on: April 09, 2006, 10:29:34 PM »
Does SME 7 have either Curl or GD ?

I'm not sure what this is ?
But my auctions php script needs it according to their auction script support team.

Please advise
Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Curl And/or GD
« Reply #1 on: April 09, 2006, 10:42:30 PM »
Quote from: "Agent86"
Does SME 7 have either Curl or GD ?

I'm not sure what this is ?
But my auctions php script needs it according to their auction script support team.

Please advise
Thanks


Are you running sme7.0rc1? I think both should be there, they are at my sme7.0rc1 machine.

GD should be incorporated in the PHP version installed on your server. You can check by running a script with the following line from a cgi enabled ibay and look for the GD header in the output information:
Code: [Select]
<?php phpinfo&#40;&#41;; ?>

You can check if curl is installed by the following command:
Code: [Select]
rpm -qa | grep curl
It should reply with something like this:
Code: [Select]
curl-7.12.1-8.rhel4

Good luck!
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
I'll try
« Reply #2 on: April 10, 2006, 04:49:39 AM »
Thanks, I'll try and post my reply,

I believe it is there, because I actually got a php program working that is suppose to need curl and/or Gd

But I'll post my findings thanks again

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Update
« Reply #3 on: April 16, 2006, 05:14:35 PM »
Hi and thanks

I recieved a correct output for curl as you described, so this confirms I have curl,however I'm not sure I understand the command for GD

Please clarify this subject on how I would check my server for GD
and if both curl and GD are enabled by default for SME 7

Please advise

Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Update
« Reply #4 on: April 17, 2006, 11:59:57 AM »
Quote from: "Agent86"
Hi and thanks

I recieved a correct output for curl as you described, so this confirms I have curl,however I'm not sure I understand the command for GD

Please clarify this subject on how I would check my server for GD
and if both curl and GD are enabled by default for SME 7

Please advise

Thanks

GD is enabled by default and is a module that is part of PHP.

If you have an ibay which is configured for Execution of dynamic content (CGI, PHP, SSI), you can put a file there, this file can be accessed by your webbrowser.

For instance you put a file called test.php in your Primary ibays html directory.

In this file is the following code:
Code: [Select]

<?php phpinfo&#40;&#41;; ?>


If you access that file by your webbrowser you should see the configuration settings of php on your server. In the informartion displayed should also be a section called GD. If this section is there (it should be if you did not modify php on your SME7 server) GD is installed.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
I'll experiment and post
« Reply #5 on: April 18, 2006, 01:00:30 PM »
I'll experiment and post my results for others

Thanks