Jump to content

Problems upgrading PHP version


Recommended Posts

I am using PS 1.6.0.14 and I've recently noticed this message under "1-Click upgrade":

 

 

"You are using PHP 5.3.27 version. Soon, the latest PHP version supported by PrestaShop will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!"

 

I have a cPanel based hosting (a2hosting) and when I change the PHP version, I just get an Error 500 in front and back office. If I return to PHP 5.3.27 all works fine again.

 

If I regenerate htaccess file after the PHP upgrade, backoffice keeps working, but not the front office. I gueess this may be an htaccess related issue instead of a problem with PHP version.

 

Has anyone had the same issue? Can you provide help, please?

 

Thanks

Link to comment
Share on other sites

SOLVED

 

This is how I've solved it:

 

1.- Login via FTP to /public_html

2.- Delete php.ini and .htaccess

3.- Change PHP version from cPanel to PHP 5.0

4.- Regenerate .htaccess file under Preferences -> SEO & Urls -> set Friendly URL to NO and save, and then set it to YES and save again.

 

And that's it, all worked fine again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...