MISP / x_old_misp_docker

MISP Docker (XME edition)
283 stars 167 forks source link

update dockerfile to contain mysql PDO extension #36

Closed dvas0004 closed 5 years ago

dvas0004 commented 5 years ago

Adding

apt-get install -u php-mysql

otherwise on startup you'll get an internal 500 error, with /tmp/logs showing:

2019-07-08 11:21:02 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
  'class' => 'Mysql',
  'message' => 'Selected driver is not enabled',
  'enabled' => false,
)
akinnane commented 5 years ago

This fix worked for me.

xme commented 5 years ago

Tx for the change.