Hello, In my Droplet i have php 7.4. I installed 7.3 with https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php-versions-on-one-server-using-apache-and-php-fpm-on-ubuntu-18-04-fr
When I use a 7.4 Prestashop find a database, but when i change it to php 7.3 I have this erreur : Database Server is not found. Please verify the login, password and server fields (DbPDO)
You help please. Thx
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @KFSys Thank you for answer. My sql it’s OK .
sudo apt-get install php7.3-mysql Reading package lists… Done Building dependency tree Reading state information… Done php7.3-mysql is already the newest version (7.3.27-9+ubuntu20.04.1+deb.sury.org+1). 0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
But he don’t work. but if I change php site to 7.4 it work’s.
you can see my phpinfo in http://hb-plomberie-chauffage.fr/phpinfo.php
Thank you
Hi @khalid94.
Are you sure you have the php-mysql extension? Make sure you type in the following inside of your droplet
If it’s not installed, select Y and install it.
That should help with your issues.