I'm on Ubuntu 8.04 LTS server, i upgrade my php from 5.2 (forgot version) into latest 5.2.4 from official repo.
After some error with eaccelerator, it run fine, but i have errors in many places in my legacy application (coded by someone else)
Take a look some code, likely he use most PHP4 notation and i would ask if any php setting to compatible with this type of code:
- didn't use " or ' in global variable, example
$_GET[id]
,$_SERVER[REQUEST_METHOD]
- use
$variable_name
instead$_POST['variable_name']
- use
$REQUEST_METHOD=="POST"
already turning on register_globals but doesn't solve problem