Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter in CGI Mode?
#2

[eluser]Valdemar[/eluser]
That's really a bad way to have php installed :-) I'm unsure why your university would keep it like that .. you can still use php in cgi mode without forcing the file extension and having to add the php binary executable (what was the name .. shebang?) in the first line.

There might be a simple solution to your problem if you have the permissions (and also if you are using Apache) to override the apache php handler. In short, you will need to edit your .htaccess and add something like:

AddHandler application/x-httpd-php .php .php3 .php4 .php5 .phtml

This will instruct Apache to parse any file with .php/.php3/.php4/.php5 or .phtml as a php script.


Messages In This Thread
CodeIgniter in CGI Mode? - by El Forum - 01-09-2008, 11:48 AM
CodeIgniter in CGI Mode? - by El Forum - 01-09-2008, 12:06 PM
CodeIgniter in CGI Mode? - by El Forum - 01-09-2008, 12:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB