The solution for shared hosting which PHP is running in CGI mode

Permalink 1 user found helpful
OK.

I've heard from many people... so I'll share this with everybody.


==========
SYMPTOMS
==========

1. You cannot use Pretty URL
2. You cannot access to file manager
3. After you logged in, you will reach the white page with "No input file specified" (the URL should be YOUR_SITE/index.php/login/-/do_login)


Check your phpinfo(), and you see the any of followings.

---------------------
Local
safe_mode ON
---------------------
Local
cgi.fix_pathinfo 1
---------------------

If you have all symptoms, and you see the same info... and BINGO~! You can try to fix it AS LONG AS you have a right permission and access to php.ini or .htaccess

safe mode must be off, and cgi.fix_pathinfo must be 0.

==========
REASON
==========

The problem is because PHP is running under safe mode, and CGI mode.


==========
SOLUTION
==========

For PHP.INI

safe_mode = Off
cgi.fix_pathinfo = 0


OR you may be able to do same thing in .htaccess

(Ahh.. I don't have time to find the proper flag setting with me at the moment... so I need somebody to help me...)

And try if this works.

katz515