Lou1234 Posted August 26, 2021 Share Posted August 26, 2021 Hello, Installing PrestaShop, even when we have followed carefully the instructions on the website or from videos, has never been an easy job. I have experienced some problems, and I would love to share with you how I resolved those problem when installing PrestaShop (using XAMPP): Issue: Cannot connect to database (when testing the connection to database) - Check the name of the database you set up on your local host - Check the port If those are okay, the problem might be that your current PHP version is not compatible with the PrestaShop version you are trying to install. You can check compatibility between PHP version & PrestaShop version here: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Then, you check PHP version by going to Command Prompt (Windows) or Terminal (Mac) and type: php -v You can upgrade or downgrade your PHP version by learning the tips Here. After you have successfully applied the new PHP version, don't forget to go to your 'php.ini' file and de-comment following lines (remove the semi-colon): ;extension=gd (or ;extension=gd2) ;extension=intl I hope this can help you! Link to comment Share on other sites More sharing options...
Marz12 Posted October 27, 2021 Share Posted October 27, 2021 Hello, Can we summarize your problem as "Issue: Cannot connect to database"? If true, did you check database's permissions in phpmyadmin? 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