Hello every body
when i check some script on my hosting vps
the function curl not work !!!
so i search php .ini in this var/usr/local/etc....
not found
so how can i disable and enable function ...........
my vps is centos .....plesk10
![]()
Hello every body
when i check some script on my hosting vps
the function curl not work !!!
so i search php .ini in this var/usr/local/etc....
not found
so how can i disable and enable function ...........
my vps is centos .....plesk10
![]()
Hi There,
File Manager and FTP doesn't allow you to access php.ini, You need to use SSH.
Or you can try this
KB Parallels: Where can I find the php.ini configuration file on the Plesk server?
Please contact customer support if you still have any problems.
Cheers
Last edited by suwunk; 2012-02-21 at 07:22 AM.
ok i success to access SSH and find php.ini how enable this function Curl ???
I think cURL is enabled by default on linux, Have you tried to check with phpinfo.php?
create a phpinfo.php file and upload to your website and open it. here is the code:
when you run phpinfo.php, look for the CURL section, if you have it enabled, it will say something like this:PHP Code:<?
echo phpinfo();
?>
Attachment 72
If it's disabled
add the line extension=curl.so to your php.ini file, just put it at the end of the file and restart your server.
The easiest way is ask customer support to have it enabled for you
Cheers
Last edited by suwunk; 2012-02-21 at 08:19 PM.
thanksssssssssss