Cannot upgrade PHP from 5.3.27 to 5.5.0

Asked by:
HubFans / n/a Points
Time:
2014-05-26 4:05 pm EST
Category:
General Server Setup
Hits:
65
I want to update to PHP 5.5.0 (to have MySQL Native Driver) from 5.3.27 (which the stats in cPanel say I have). I tried to update via the PHP Configuration page, but while it says php.ini was successfully updated, the stats and the phpinfo page still show 5.3.27. How can I change it?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

JeffMa
Staff
2,093 Points
2014-05-27 8:51 am EST
Sometimes, as changing your PHP version in cPanel simply writes to the .htaccess file, this can fail depending your your particular scenario. To resolve the issue, you can make this change manually by inserting the following line into your .htaccess file:

AddHandler application/x-httpd-php55 .php

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.