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 these headers 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
The Set-Cookie values change every time, but otherwise it’s the same thing every time it runs.
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’m not completely sure the php.ini file is being read by the server, but I told it to in cPanel and I believe I did it correctly.
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!