|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2006
Lives in London, UK
12 posts
Gave thanks: 1
Thanked 0 times
|
PHP version issues
The cPanel for the server I am hosted on reports PHP as being version 4.4.2. Some of the scripts I wish to run require version 5. Since the updates were meant to be rolled out by the end of July according to this post: Rolling out PHP5 : May How come my server is still running the old version?
|
|
|
|
|
|
#2 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,087 posts
Gave thanks: 48
Thanked 131 times
|
Servers are running both PHP4 and PHP5. To see if you have PHP5 on your server, make a file called 'info.php5'. Put in;
PHP Code:
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2006
Lives in London, UK
12 posts
Gave thanks: 1
Thanked 0 times
|
Ah right, thanks for that, I had suspected but couldn't work out how to make the info call show php5. It worked. How do I go about making it default through my .htaccess file? Download the file, edit it with something, and overwrite?
|
|
|
|
|
|
#4 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,087 posts
Gave thanks: 48
Thanked 131 times
|
There's instructions in this post; http://www.surmunity.com/showpost.ph...33&postcount=7
|
|
|
|
|
|
#5 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Aug 2006
Lives in London, UK
12 posts
Gave thanks: 1
Thanked 0 times
|
Quote:
|
|
|
|
|
|
|
#7 (permalink) |
|
Skittles
Super #1
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,816 posts
Gave thanks: 101
Thanked 199 times
|
I can't unlock, but here is the line to add:
* If you would like all of your .php pages to parse as PHP5 exclusively, you just add a line to your .htaccess file: AddHandler application/x-httpd-php5 .php
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. |
|
|
|