The story begin when I was migrating my Codeigniter app from php4 to php5 hosting environment and then I change the
And then the app crashed!?? I had to debug the code for quite sometimes 😫
$_SERVER variable, and turns out the
PATH_INFO variable wasn’t exist, but the
ORIG_PATH_INFO variable is exist, hmm is it the PHP version problem?
So then I found this article path_info, orig_path_info, apache and php, well I guess that explained very well, on his condition mentioned in the article, the problem happened when he use
.htaccess redirect and in my condition it happen when I use
PATH_INFO relies on the Apache AcceptPathInfo Directive