Doctrine Deployment on test-environment without co

2019-08-31 07:56发布

问题:

I developed an application with Zend Framework and Doctrine ORM. To test the application on another environment, I tried to install it on a Synology DiskStation. I exported the MySQL-database with phpMyAdmin and imported it to the DiskStation. But Doctrine doesn't detect the scheme either all login-credential are correct. So I tried to create the scheme with ssh-access:

DiskStation> ./doctrine-module orm:schema-tool:create
.../bin/doctrine-module: Permission denied

Do you have any idea to solve this problem?

Many thanks in advance!

回答1:

Make vendor/doctrine/doctrine-module/bin/doctrine-module and vendor/bin/doctrine-module executabe. Than it works.