Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Agent86 on April 09, 2006, 10:29:34 PM

Title: Curl And/or GD
Post by: Agent86 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
Title: Re: Curl And/or GD
Post by: cactus 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!
Title: I'll try
Post by: Agent86 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
Title: Update
Post by: Agent86 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
Title: Re: Update
Post by: cactus 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.
Title: I'll experiment and post
Post by: Agent86 on April 18, 2006, 01:00:30 PM
I'll experiment and post my results for others

Thanks