Msg#: 4384546 posted 8:48 pm on Nov 7, 2011 (gmt 0)
I have PHP script that writes few variables into a cookie. It suddenly stopped working without changes made from my side. Hosting company claimed there were no changes on their side, but when I run php info, I see the build date and time to be exactly when it stopped working.
The PHP version is 5.2.17
The php info shows the right path to my php.ini file.
Here are the setting for error reporting:
# supress php errors display_startup_errors = off display_errors = off html_errors = off docref_root = 0 docref_ext = 0 # php error logging log_errors = on error_reporting = 6135 error_log = /mypath/phperror.txt # disable repeated error logging ignore_repeated_errors = on ignore_repeated_source = on
I'm waiting for support to get back to me now. In a meantime, what could I do to drill into this further?
Msg#: 4384546 posted 12:26 am on Nov 8, 2011 (gmt 0)
what is it exactly that stopped working?
A script gets called from PHP.INI via auto_prepend_file. It works with referring URL to get variables and writes them into a cookie. Later on, I call them from a cookie and pass them as needed. I have this working on numerous sites with numerous hosting companies.
But with this specific host, all stopped working on that specific day after, as per host, "Apache and PHP were recompiled on the server, but there weren't any configuration changes."
That recompilation somehow made my script stop working. Now I'm trying to point the support into the right direction. I can see that earlier today they have recompiled the software again, but that did not make any difference.
Msg#: 4384546 posted 6:24 pm on Nov 8, 2011 (gmt 0)
What was the previous version of PHP - when it was working OK?
Don't know. But I do know that it works with another host that runs the same version as of now. Plus, it may be that the version was the same prior that recompilation. Now I see November 7 after I emailed them about it. I guess they tried to see if just recompiling it would fix it.
Anyway, I'll try to break the script and test it in two steps at least. The support guys are willing to help so I'll give them a chance.