I am currently running a PHP on Windows, but when I post my web pages to the live site, they are running on a Linux box.
The problem: When I code my php to make use of an undeclared variable (such as $sSelectedFilterProvince below), my local environment runs it just fine (even though it's obviously a bug because I did not declare $sSelectedFilterProvince earlier and set it to a value).
But in the live environment the code below just times out the page after about 2 minutes with a cryptic message.
What I would like to do is to set my php.ini file setting so that I encounter that same hang problem on my local environment before I post the code to the live site. I am assuming there's some type of setting that I can set to make this happen, but in looking at the various setting options in my local copy of php I don't see any particular setting that might be the one.
Any clues as to how I might recreate this environment on my local system?
... do something...