Web Hosting Talk







View Full Version : ZenCart and cURL


Woodymon
10-10-2004, 10:57 AM
Oops. Hope I'm not cross-posting... Meant to start a new thread.

I've installed ZenCart and the demo runs fine on my vhost account (no SSL enabled as of yet.... that's another issue).

I noted the ZenCart install script "System Inspection" reported: PHP cURL support=off.

How do I run a simple test to see if cURL is enabled for my vhost account? I've read thru the cURL docs and they indicate command line access would be required, which I have none. (I assume account is set up in a chroot jail or similar.... So I don't have access to make, config, configure or any other dev tools).

My webhost runs Apache 1.3.31 / PHP 4.3.4 / OpenSSL 0.9.7d / MySQL 3.23.56 / Perl5.x? /mod_perl 1.29 on debian 2.6.6-1.

phpinfo() "Configure Command" entry shows --with-curl=shared,/usr

Does this mean curl is already compiled in for PHP support. Or does something else have to be done by syadmin to "enable" curl for vhost account?

Note the sysadmin at my web hosting provider is willing to adapt the system for my needs if I can point him on the right direction and it will not produce any security headaches. Hopefully it's not a lot of work for the sysadmin to enable cURL support cURL for PHP. Or does the system need rebuilt from scratch?

Or can I individually install "binary" version of curl library in my own directory space and point my scripts to use my installed libraries without sysadmin intervention.

I'm not well versed in Perl (or in Unix as you can tell) and wish to maintain my focus on PHP development, thus the desire to implment a PHP based shopping cart system.

Thanks for any info.

Woody

cartika-andrew
10-10-2004, 11:47 PM
Hi Woody,

If Zen Cart spit out the message cURL off during install, then most certainly it is not compiled...

Which CP is your host running? (some arent as cURL friendly as others).

You dont have too much to worry about however, as Zen Cart runs perfectly well without cURL ....

cURL is only required for "some" 3rd party addons to operate properly..

Hope this helps..

Woodymon
10-11-2004, 07:23 AM
No CP available.

Need cURL for payment processing module.

Linkpoint API or Authorize.net AIM is the direction I'm heading, unless alternatives are recommended. Both require cURL.