As I see apache, but is PHP running as apache module or via mod_fcgi / fastcgi?
Just asking, because when running as apache module you can change cgi.fix_pathinfo to 1 but it won't change anything ;)
Beside that, take a look under /etc/php5/XXXXXXX/php.ini where XXXX can be e.g. "apache" or "cli" or "mod_fcgi" or ... depending on how your PHP is running.