How to connect to DB, when running via command line

后端 未结 1 2171
一个人的身影
一个人的身影 2021-02-20 06:17

When I run zend framework project from browser, everything is OK, it connects to DB.

When I run project from command line it can\'t connect to DB and it throws an error:

相关标签:
1条回答
  • 2021-02-20 06:44

    Copy the content of application.ini in your php.ini file, this should work fine.

    0 讨论(0)
提交回复
热议问题