title: Fatal error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in /var/www/laravel/config/database.php on line 68
body: <p>After setting up a docker container with laravel, I am getting the following error in the browser: </p>
  
  <p><code>Fatal error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in /var/www/laravel/config/database.php on line 68</code></p>
  
  <p>Content of this line:</p>
  
  <pre><code>        PDO::MYSQL_ATTR_SSL_CA =&gt; env('DB_MYSQL_ATTR_SSL_CA', ''),
  </code></pre>
  
  <p>This is a Debian official image from PHP5, including php5-mysql (which based on the Debian page <a href="https://packages.debian.org/jessie/php5-mysql" rel="nofollow noreferrer">https://packages.debian.org/jessie/php5-mysql</a> includes php commons 5.6.30 which should be enough if I am correct) the complete Dockerfile can be found here <a href="https://github.com/lechmigdal/laravel-mysql-docker/blob/master/Dockerfile" rel="nofollow noreferrer">https://github.com/lechmigdal/laravel-mysql-docker/blob/master/Dockerfile</a>.</p>
  
  <p>Are there any other packages that I need to include or additional configuration required?</p>