CURL is not Installed with PHP

totallyfreak

Verified User
Joined
Mar 13, 2013
Messages
25
Hi, i got some problem with one Cron job:

php -q /home/admin/domains/pridecommunity.com/public_html/seo/plugins/newsletter/newslettercron.php

and i got this error message via cron email:

The CURL is not Installed with PHP in your Server.
Please INSTALL it by referring http://php.net/manual/en/curl.setup.php
or Please contact your web hosting provider to INSTALL it.

so what should i do?
im using directadmin on a debian 6.0


thx
 
You can install it via Custombuild if you are running custombuild.
Set curl to yes in options.conf.
Then ./build update and ./build curl
that should do the trick.
 
ok yes i use the custom build...

so can you told me the exact command to do in the ssh


thx
 
Well... you should be root in any case, so login as root or "su -" to root.
I normally edit the /usr/local/directadmin/custombuild/options.conf but if you can't, it can also be done this way:
Code:
cd /usr/local/directadmin/custombuild
./build set curl yes
./build update
./build curl
If you run into errors, see the help section of directadmin:
http://help.directadmin.com/?query=curl
 
Back
Top