CakePHP Error: Unable to configure the session, setting session.auto_start failed

后端 未结 5 1994
再見小時候
再見小時候 2021-01-31 19:27

I\'m getting this error:

Error: [CakeSessionException] Unable to configure the session, setting session.auto_start failed.

I\'m using Cakephp 2.2.4.

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 20:04

    In PHP version 5.4.19 - developers closed the ability to set session.auto_start option from user script.

    CakePHP removed this option from default session configuration only in 2.4.0 version.

    So you have 3 main option: upgrade CakePHP, downgrade PHP, or use standard php session.

提交回复
热议问题