how to Install Drush DSM6?

Questions about IPKG can go here!
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/su ... p?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
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”