AWS Elastic Beanstalk and PHP sessions

前端 未结 3 2055
再見小時候
再見小時候 2020-12-31 19:30

I currently have a php application in development on an AWS EC2 instance but I\'ve decided to move it to Elastic Beanstalk to take advantage of the autoscaling functionality

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 20:14

    You can also add this to your elastic beanstalk project.config file:

    "/etc/httpd/conf.d/php.conf" :
       content: |
         php_value session.save_path "/tmp"
    

    that will just set the session save path for you

提交回复
热议问题