I have a VPS with linux CentOS with root access and DirectAdmin control panel. I have restored a website on it and it shows some warnings like:
Warning: file_put_contents(/home/site/domains/mysite.com/public_html/news/art/wp-content/themes/aggregator/cache//6d6888104966bb46e070bdf21b1efd2c.spc) [function.file-put-contents]: failed to open stream: Permission denied in /home/site/domains/mysite.com/public_html/news/art/wp-content/themes/aggregator/php/simplepie.inc on line 8670
so I tried to turn off all warnings via editing the php.ini file:
error_reporting = E_ALL & ~E_WARNING
and I rebooted the system. but it does not work. I also realized that there are two php.ini files on my system:
/usr/local/etc/php5/cgi/php.ini
/usr/local/lib/php.ini
I don't know what to do. Any help?!
Thanks