After setting up a docker container with laravel, I am getting the following error in the browser:
Fatal error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in /var/www/laravel/config/database.php on line 68
Content of this line:
PDO::MYSQL_ATTR_SSL_CA => env('DB_MYSQL_ATTR_SSL_CA', ''),
This is a Debian official image from PHP5, including php5-mysql (which based on the Debian page http://ift.tt/2mGCeZu includes php commons 5.6.30 which should be enough if I am correct) the complete Dockerfile can be found here http://ift.tt/2m8dUU4.
Are there any other packages that I need to include or additional configuration required?
via Lech Migdal