how to Install Drush DSM6?

Questions about IPKG can go here!
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
Joehoe
I'm New!
I'm New!
Posts: 1
Joined: Wed Sep 28, 2016 12:18 pm

how to Install Drush DSM6?

Unread post by Joehoe » Wed Sep 28, 2016 4:28 pm

Hi, I have drush installed but it doenst work properly. In any folder I can run drush exept my websitefolder for example $:/volume1/web/drupal8. I get the PHP Fatal error message. What went wrong and how can this be fixed?

$:/volume1/web$

Code: Select all

drush status
PHP configuration : /etc/php/php.ini
PHP OS : Linux
Drush script : /usr/local/bin/drush
Drush version : 8.1.5
Drush temp directory : /tmp
Drush configuration :
Drush alias files :

I did give permissions, with symboliclinks, to composer and drush:
lrwxrwxrwx 1 r8quver users 23 Sep 28 14:02 composer -> /usr/local/bin/composer
lrwxrwxrwx 1 r8quver users 20 Sep 28 14:03 drush -> /usr/local/bin/drush
$:/volume1/web$ cd drupal8
$:/volume1/web/drupal8$

Code: Select all

drush status
PHP Fatal error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in phar:///usr/local/bin/drush/lib/Drush/Sql/Sqlmysql.php on line 56

Fatal error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in phar:///usr/local/bin/drush/lib/Drush/Sql/Sqlmysql.php on line 56
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in phar:///usr/local/bin/drush/lib/Drush/Sql/Sqlmysql.php, line 56

Post Reply

Return to “IPKG”