Welcome Guest, Not a member yet? Register   Sign In
"weird php5" problem
#1

[eluser]redhorselancer[/eluser]
Hi guys,

I have a problem here. you see, I uploaded my script to a weird php5-running server. the problem with that server is that you'll have to type in ".php5" in the URL instead of just ".php" as the extension even if the actual php files' extension is only ".php". Now codeigniter doesn't work in that server, is there any workaround to fix that (aside from renaming the extensions in the include/require statements inside the actual php files to ".php5")?
#2

[eluser]Unknown[/eluser]
.htaccess:

AddHandler application/x-httpd-php5 .php
#3

[eluser]redhorselancer[/eluser]
Hi,

thanks for the reply!
but i'm not really good at making htaccess files, can you post here what exactly should the htaccess look like?
#4

[eluser]redhorselancer[/eluser]
hi again,

I made a .htaccess file that only has "AddHandler application/x-httpd-php5 .php" inside then i got a "500 Internal Server Error"...
#5

[eluser]redhorselancer[/eluser]
oh that error was because i forgot to put the "AddHandler", my htaccess file only has "application/x-httpd-php5 .php" now i added the "AddHandler" and checked of if the contents is correct, now here's what i have http://www.maxtennis.com/quiz/index.php
you see if you make that index.php into index.php5, you get a "No input file specified." message, is there any other thing to consider here?




Theme © iAndrew 2016 - Forum software by © MyBB