0

my client gave me access to the shared hosting (that he chose and paid) for a website I'm doing. PHP is running as CGI. I can't change PHP settings through ini_set at all! Is this possible? Is this a standard practice of shared hosting? What I basically need to do is to JUST activate errors! How can they expect someone to work with blank pages as "errors"!

Sandro Antonucci
  • 1,683
  • 5
  • 29
  • 59

1 Answers1

1

Unless they've seriously locked down settings:

ini_set('display_errors', 1);
error_reporting(E_ALL);

should be all you need.

drudge
  • 35,471
  • 7
  • 34
  • 45
  • @Sandro: Install WAMP/MAMP on your local machine and do your development locally. You could also have your client request that his hosting settings be changed to allow error reporting. – drudge Apr 16 '11 at 00:43