Doctrine Deployment on test-environment without co

2019-08-31 07:41发布

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条回答
一夜七次
2楼-- · 2019-08-31 08:25

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

查看更多
登录 后发表回答