benedettopresta Posted May 16, 2015 Share Posted May 16, 2015 In my server control panel Cpanel i have the ability to change PHP version, my current version is 5.3.29, and i need to change it to a higher one at least 5.4 because 2 services that i use do not support 5.3 anymore. My problem is i know how to change it, but all my prestashop sites give me internal server error once i changed it. Than if i change it back, everything is fine. How can i avoid this I've tried a new install of prestashop with php 5.5 already changed before, and still the same problem. I've tried the little help that i found on internet about the .htaccess with nosuccess. Any body has any idea? Link to comment Share on other sites More sharing options...
las3r Posted May 16, 2015 Share Posted May 16, 2015 It is possible the .htaccess module is disabled, changed, or that the http configuration is different. If you want to rule that out, install XAMPP (for windows) and try out the different PHP versions locally so you can see whether your host is the problem. Note: You could ask your host to setup extra logging vars that will log these 500 errors. Link to comment Share on other sites More sharing options...
El Patron Posted May 16, 2015 Share Posted May 16, 2015 Please enable PrestaShop debug move so you can see the underlying server error. With this information you can then possible find a solution. If you do not know how to enable PrestaShop debug mode, do quick search. Link to comment Share on other sites More sharing options...
benedettopresta Posted May 16, 2015 Author Share Posted May 16, 2015 Thanks for the attempt, but i've now also asked my host about this and i will wait to see what they say. the .htaccess you talk about, i don't know that there is a module, but i did rename it and prestashop recreated it, so i think it shouldn't be a problem with that. as for XAMPP i really don't have the time it would take, i will keep in mind this option as a last resort. Link to comment Share on other sites More sharing options...
las3r Posted May 17, 2015 Share Posted May 17, 2015 Apache needs to honor the .htaccess. Some webhosting companeis require an altered form of syntax for the .htaccess file. PrestaShop only writes the .htaccess in the standard that sis defined. If your hosting company requires another directive (or module name) this is something they'd know. local testing is always a bit tedious but you'll find that it might help you in case of dire need ;-) Let us know how this panned out. Link to comment Share on other sites More sharing options...
benedettopresta Posted May 17, 2015 Author Share Posted May 17, 2015 (edited) Ok guys problem solved, i changed the php.ini file to a new one, removed it from the root and put it in the admin folder only and now everything works again. Thanks Now I'm on PHP 5.4.8 Edited May 17, 2015 by benedettopresta (see edit history) 1 Link to comment Share on other sites More sharing options...
las3r Posted May 17, 2015 Share Posted May 17, 2015 Oh wow, fantastic. Good luck with your store then! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now