Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 06:48:31 PM

Pages: [1]   Go Down
  Print  
Author Topic: Enable PHP5 - Not.  (Read 929 times)
Pogle
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« on: April 19, 2010, 05:11:53 AM »

When I click the "Enable/Disable PHP 5" option in cPanel it says "PHP 5 is Installed!" but PHPinfo says it's still Version 4.4.9.
Server dacat.
Any idea what's happening?
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #1 on: April 19, 2010, 05:13:38 AM »

cPanel will never show the change in the server settings.  This tutorial should help shed a little more light on the topic:

http://wiki.lunarpages.com/Enable_PHP_5

Hope that helps!
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pogle
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #2 on: April 19, 2010, 05:21:08 AM »

Hi Mitch
thanks for your fast reply. In fact, I was already looking at the phpinfo() output, having previously created the phpinfo.php file, and that still says 4.4.9.
Do you know if PHP 5 is available on this server?
regards
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #3 on: April 19, 2010, 07:58:02 AM »

Could be that something in your .htaccess file is causing the error.  I'd suggest you drop in a support ticket to support.lunarpages.com and let them know you have enabled PHP5 via the cPanel control panel, and your still having issues.
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5191



« Reply #4 on: April 19, 2010, 08:39:05 AM »

The first thing to do is to try "disabling" PHP 5 with the button, and then re-enabling it. Sometimes that will clear it up. Your .htaccess should show something like
Code:
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
after you enable PHP 5 -- did it get updated? Your .htaccess is 644 permissions (not 444)? There are no other handlers in your .htaccess defined to handle PHP files?

If all this fails to get PHP 5 working (according to phpinfo), open a support ticket.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pogle
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #5 on: April 19, 2010, 09:06:12 AM »

Thanks to both of you for your suggestions and help.

MrPhil, that fixed it.  Smiling
I should've thought of that but there you go...

cheers
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: