Your Server

how to enable PHP error reporting on a godaddy virtual dedicated server?

Hi - I found out that Plesk turns off php error reporting by default and that to turn in on I have to modify "/etc/php.ini" . I downloaded 'putty' and SSH-ed as 'su' but permissions are denied when I type /etc/php.ini. I called godaddy and was told that they are having no problem doing it on their end and just to make sure that I login as root (which I think "su" is, correct?) - Of course, since virtual dedicated server come with no support, I am stuck in the dark... Please help! MANY THANKS :-)

Public Comments

  1. Add the following line on top of your PHP files. error_reporting(E_ALL); and try.
  2. Once you've SSHed into the box (using PUTTY), run su - root to become root. Then you can edit /etc/php.ini using vi vi /etc/php.int
Powered by Yahoo! Answers