Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 09-24-2007, 01:45 PM
jonbcheshire jonbcheshire is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 3
Default Issues upgrading to php5

I added the following line to the .htaccess file:

'AddHandler application/x-httpd-php5 .php'


and tried running it through extra features in cpanel but it still keeps displaying 'php 4.4.4' in the 'server information' box
Reply With Quote
  #2  
Old 09-24-2007, 01:47 PM
gtgeorge's Avatar
gtgeorge gtgeorge is offline
Emperor Croc
 
Join Date: Mar 2005
Posts: 2,223
Default Re: Issues upgrading to php5

Quote:
Originally Posted by jonbcheshire View Post
I added the following line to the .htaccess file:

'AddHandler application/x-httpd-php5 .php'


and tried running it through extra features in cpanel but it still keeps displaying 'php 4.4.4' in the 'server information' box
That is because php5 runs on whatever directories you add it to recursively as an add on but cpanel reports the base version.
__________________
best regards,
George
Reply With Quote
  #3  
Old 09-24-2007, 01:55 PM
jonbcheshire jonbcheshire is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 3
Default Re: Issues upgrading to php5

ok thanks, how can i check it was successful?
Reply With Quote
  #4  
Old 09-24-2007, 02:20 PM
esl's Avatar
esl esl is offline
Emperor Croc
 
Join Date: Jan 2005
Location: Proud to be an American - USA
Posts: 2,232
Default Re: Issues upgrading to php5

http://forums.hostgator.com/showpost...50&postcount=7
__________________
Have a great day,
Evan
Reply With Quote
  #5  
Old 09-24-2007, 03:02 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: Issues upgrading to php5

Quote:
Originally Posted by jonbcheshire View Post
ok thanks, how can i check it was successful?
Upload a php info file and it will tell you the version of php the script is using
Reply With Quote
  #6  
Old 09-24-2007, 04:52 PM
jonbcheshire jonbcheshire is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 3
Default Re: Issues upgrading to php5

i tried a file with jsut <? phpinfo(); ?> contained didnt load rediverted to my homepage.
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 09:31 AM.