Exception during adding superuser
fhamborg opened this issue · comments
Following the guide, I get the following error message.
ubuntu@vm1:~/literaturemgmt/SciBib$ bin/cake users addSuperuser
PHP Warning: Module 'intl' already loaded in Unknown on line 0
Exception: Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependency in [/home/ubuntu/literaturemgmt/SciBib/vendor/cakephp/cakephp/src/Database/Connection.php, line 170]
ubuntu@vm1:~/literaturemgmt/SciBib$
Hey,
this error occurs if a PHP extension is missing.
Please install the PHP module for MySQL connections and restart apache.
sudo apt-get install php-mysql
sudo service apache2 restart
That solves the problem, thanks!