Quantcast
Channel: Can't execute index.php in root folder when PHP is installed as CGI binary - Server Fault
Browsing all 3 articles
Browse latest View live

Answer by Mo. for Can't execute index.php in root folder when PHP is...

You have a few options. If mod_rewrite is switched on, you can use that to rewrite requests to a path in your /cgi-bin/. $_SERVER[] will still contain the original request URI so that you can...

View Article



Answer by LapTop006 for Can't execute index.php in root folder when PHP is...

You could just create an index.html file with a meta redirect, it won't clean up the URL's but at least it would work.

View Article

Can't execute index.php in root folder when PHP is installed as CGI binary

I'm trying to make a website on my school's server, but they have PHP installed as CGI, so .php files can only run in the cgi-bin folder. This is somewhat problematic if I want my index to be a .php...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images