OlivierL37 OlivierL37 - 2 months ago 10x
MySQL Question

Doctrine Deployment don t fin pdo_mysql, on Synology with console-access

I developed an application with Symfony 2.8 and Doctrine ORM. To test the application on another environment, I tried to install it on a Synology DiskStation. But I think Doctrine doesn't detect


enter image description here

I use DSM 6.0.1-7393.

<?php print_r(PDO::getAvailableDrivers());?>

Array ( [0] => mysql [1] => pgsql [2] => sqlite [3] => dblib )

is ok.

I can run to

I have read on post about permission vendor/doctrine/doctrine-module/
But i have no repertory /doctrine-module .


It s resolved with : add ip of the local machine who access to the serveur : - config.php and app_dev.php in /YourProject/appWeb/

open DSM, In the control-panel under Web-Services in the php-settings enable Customize PHP open_basedir, append the paths you wish: add :


Where i put composer : - /usr/local/bin

Composer instal give the red path : - /volume1/@appstore/PHP5.6/usr/local/bin/php56

SynHome> curl -sS https://getcomposer.org/installer | php
SynHome> mkdir /usr/local/bin/composer/
SynHome> chmod 440 composer.phar
SynHome> mv composer.phar
SynHome> rm -r vendor
SynHome> rm -r bin
SynHome> php56 /usr/local/bin/composer/composer.phar install

SynHome> php56 app/console doctrine:database:create
SynHome> php56 app/console doctrine:schema:update 

No PDO exception, now the base is full.