Doctrine Deployment on test-environment without console-access

◇◆丶佛笑我妖孽 提交于 2019-12-12 03:39:25

问题


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.



来源:https://stackoverflow.com/questions/22358460/doctrine-deployment-on-test-environment-without-console-access

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!