I’m not sure if I’m doing something wrong in my script or if this is the normal behaviour of PHP or Dreamhost.
I use the addHandler directive in a .htaccess file to make .foo files behave like .php files, which works fine, except when I try to write files with file_put_contents() nothing happens. The function doesn’t even generate an error message but simply returns false.
So, who’s to blame?
PS: How do you add a signature to your messages?
Edit: I forgot to mention the Suhosin Patch is installed. It could be the reason, too.