Jump to content

Trying to install PrestaShop through CLI but getting error ( An exception occured while establishing a connection to figure out your platform version. )


Recommended Posts

Trying to install PrestaShop through CLI but getting error

An exception occured while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value

For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673

Anyone has any idea where do I add the server_version config value?

Edited by Evoxt (see edit history)
Link to comment
Share on other sites

  • 5 months later...
  • 1 year later...
  • 5 months later...

Im also battling with this issue with a new install of 1.7.8.9
Did anyone perhaps figure out the how to circumvent this?
The code in this GITHUB fix does not fix the issue, it actually breaks the site from loading even if I insert "8.0" as the SQL version
https://stackoverflow.com/questions/67934455/an-exception-occured-while-establishing-a-connection-to-figure-out-your-platform

Link to comment
Share on other sites

On 9/5/2023 at 2:27 PM, PPSA said:

Im also battling with this issue with a new install of 1.7.8.9
Did anyone perhaps figure out the how to circumvent this?
The code in this GITHUB fix does not fix the issue, it actually breaks the site from loading even if I insert "8.0" as the SQL version
https://stackoverflow.com/questions/67934455/an-exception-occured-while-establishing-a-connection-to-figure-out-your-platform

Have a look here: https://github.com/PrestaShop/PrestaShop/issues/33524

At the end an alternative solution is offered.

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...