error in zend session database for php7

后端 未结 3 1040
半阙折子戏
半阙折子戏 2021-01-06 13:14

My application need to use database instead of file for the session management. My Application is based on Zend Framework

3条回答
  •  佛祖请我去吃肉
    2021-01-06 13:39

    On September 2016, Zend Framework 1 is reached EOL (end-of-life). This means it will not be improved anymore. The codebase is too old to work well with PHP 7.

    Anyway, you have at least two option:

    1. Downgrade to or run in parallel PHP 5.6 on your server to support ancient ZF1 app.
    2. Write your own session save handler by extending the DbTable handler as suggested here.

提交回复
热议问题