Hello!
For about two or three weeks now, I've had a cron job that runs every 5 minutes as part of an email subscription system I set up for my church. Yesterday something changed with our hosting server (it's shared hosting with Hostmonster) and now I'm getting an email every time the cron job runs because headers like these are being outputted:
X-Powered-By: PHP/5.2.13
P3P: CP="NOI NID ADMa OUR IND UNI COM NAV"
Cache-Control: private, must-revalidate
Set-Cookie: SN4b2c59593456c=4ql5n8rl157cj8tmb7o67bjh95; path=/
Set-Cookie: SN4b2c59593456c=4ql5n8rl157cj8tmb7o67bjh95; path=/
Content-type: text/html
I did some Googling and read that I should set "expose_php = Off" in my php.ini, but I did so and it didn't change anything. I used phpinfo() to check, and the setting is definitely being read as "Off", so there are no issues with my php.ini file.
I might submit a support ticket with Hostmonster, but they haven't been too helpful lately. What else can I do to get rid of the headers so I stop getting the status emails from the cron job? Also, I do want to get the emails when something goes wrong, so I can't just disable the emails for the cron job.
Thanks much!