icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » PHP version issues

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old August 27th, 2006, 6:52 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
oracleredux's Avatar
 
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?
oracleredux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 27th, 2006, 9:50 PM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
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:
<?php
phpinfo
();
?>
If the file works and displays PHP 5.x, you're good to go. You can make PHP5 default by adding it to your .htaccess file.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 27th, 2006, 9:54 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
oracleredux's Avatar
 
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?
oracleredux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 27th, 2006, 10:34 PM   #4 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
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
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 27th, 2006, 11:00 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
oracleredux's Avatar
 
Joined in Aug 2006
Lives in London, UK
12 posts
Gave thanks: 1
Thanked 0 times
Quote:
Originally Posted by Haugland View Post
Many thanks, that worked a treat.
oracleredux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 13th, 2006, 9:23 PM   #6 (permalink)
Registered User
Comfy Contributor
 
speedy47's Avatar
 
Joined in Aug 2004
Lives in South Windsor, CT
Hosted on dedicated
157 posts
Gave thanks: 2
Thanked 4 times
Any chance that the post referenced in this thread can be unlocked or atleast the instructions made visible again?
__________________
Site: chubbychica.com


speedy47 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 13th, 2006, 9:27 PM   #7 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
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.
DewKnight is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 13th, 2006, 9:33 PM   #8 (permalink)
Registered User
Comfy Contributor
 
speedy47's Avatar
 
Joined in Aug 2004
Lives in South Windsor, CT
Hosted on dedicated
157 posts
Gave thanks: 2
Thanked 4 times
Many thanks.
__________________
Site: chubbychica.com


speedy47 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On