TheFilmGod Posted July 29, 2007 Share Posted July 29, 2007 Currently my server is running php 4.0.3 or something like that. I called customer service. They say its running php 5 but I need some filename.php5 extension? What is this? Is this true? Help!!! I'm clueless!! ??? ??? ??? Quote Link to comment Share on other sites More sharing options...
corbin Posted July 29, 2007 Share Posted July 29, 2007 Ummm..... How are we supposed to know if it's true? I don't know why your customer serv people would lie to you ;p. Quote Link to comment Share on other sites More sharing options...
lightningstrike Posted July 29, 2007 Share Posted July 29, 2007 If you want to remain using the .php extension for version 5.0 and ahve access to your .htaccess files. simply add in it. AddHandler application/x-httpd-php5 .php or AddType application/x-httpd-php5 .php depending on config. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 29, 2007 Author Share Posted July 29, 2007 well, if you go to wwpknights.com/info It uses phpinfo(); function. Now they say I need a .php5 extension to make php 5 work? Does this make any sense or did the guy totally BS me? (from customer service)? Quote Link to comment Share on other sites More sharing options...
lightningstrike Posted July 29, 2007 Share Posted July 29, 2007 it makes sense, since your phpinfo file is probably using the .php extension not .php5 Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 29, 2007 Author Share Posted July 29, 2007 Thanks lightningstrike. I will call customer service again. Thank you soo much!! Quote Link to comment Share on other sites More sharing options...
trq Posted July 29, 2007 Share Posted July 29, 2007 Simply make another phpinfo file, this time with the extension .php5. This is one way to make available both php4 and php5 on the same server. Quote Link to comment Share on other sites More sharing options...
corbin Posted July 29, 2007 Share Posted July 29, 2007 lol sorry for my first response.... It was kinda bleh..... Anyway, wouldn't the add type thing in htaccess overlap with apache's config? You could use modrewrite and make .php redirect to .php5 behind the sceenes, but then you couldn't (easily) use php 4.... Quote Link to comment Share on other sites More sharing options...
trq Posted July 29, 2007 Share Posted July 29, 2007 Anyway, wouldn't the add type thing in htaccess overlap with apache's config? It would overide the default apache setting. Thus allowing the .php extension to be parsed as php5. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 29, 2007 Author Share Posted July 29, 2007 Well I just went to support and they told me to do the .htaccess file. They gave me the code and everything? But where is this file located? I go to my root directory and there is no .htaccess file!! Is there a place I can get the .htaccess file somewhere? Please help!! Quote Link to comment Share on other sites More sharing options...
trq Posted July 29, 2007 Share Posted July 29, 2007 The . on the front makes it a hidden file. I'm not sure what your trying to view it with but that may be the issue. Otherwise, if it not there, just make a new file in your document root called .htaccess and place the code they gave you in it. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 29, 2007 Author Share Posted July 29, 2007 how do I make a new one? Quote Link to comment Share on other sites More sharing options...
trq Posted July 29, 2007 Share Posted July 29, 2007 How do you make any new file? Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 29, 2007 Author Share Posted July 29, 2007 I never did .htaccess files before. I swear! Do I just put it into notepad and save it like .htaccess? Quote Link to comment Share on other sites More sharing options...
trq Posted July 29, 2007 Share Posted July 29, 2007 Yeah. Quote Link to comment Share on other sites More sharing options...
corbin Posted July 29, 2007 Share Posted July 29, 2007 Anyway, wouldn't the add type thing in htaccess overlap with apache's config? It would overide the default apache setting. Thus allowing the .php extension to be parsed as php5. I meant like would it error or not.... Anyway, that's cool ;p. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.