Enable php curl_exec in Kloxo server

You can enable the ‘mode curl_exec’ in php.ini file

PleaseĀ  do the following steps.

For enabling this server wide >>

Edit the /etc/php.ini file and go through the section

disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source

remove the entry “curl_exec,curl_multi_exec” from the line.

For enabling it for a single domain >>

Edit the php.ini file of the domain. The php.ini file of domain should be in the path /home/httpd/<domain.com>/php.ini

After editing restart the httpd service

/etc/init.d/httpd restart

 

ReferenceĀ  : http://forum.lxcenter.org/index.php?t=msg&goto=97145&

 

Leave a Reply

Your email address will not be published. Required fields are marked *