admin管理员组文章数量:1287119
The plan is to install wordpress on AWS with ELB. So far I have two instances of Ubuntu 16.04 each with PHP7 and both connected to RDS (MariaDB).
The PHP Session is shared between the ec2 instances and hosted in ElastiCache (Memcached). So in php.ini, at the session section, I use memcached. If I have only one ec2 under the ELB, I can login to the admin and all is perfect.
The problem is when have both of them under ELB (the exact same config) the website is working but the login in the admin no any more. Does someone have any idea/clue/suggestion about this matter? Thank you
The plan is to install wordpress on AWS with ELB. So far I have two instances of Ubuntu 16.04 each with PHP7 and both connected to RDS (MariaDB).
The PHP Session is shared between the ec2 instances and hosted in ElastiCache (Memcached). So in php.ini, at the session section, I use memcached. If I have only one ec2 under the ELB, I can login to the admin and all is perfect.
The problem is when have both of them under ELB (the exact same config) the website is working but the login in the admin no any more. Does someone have any idea/clue/suggestion about this matter? Thank you
Share Improve this question edited Oct 25, 2019 at 16:17 Tom J Nowell♦ 61k7 gold badges79 silver badges148 bronze badges asked Feb 4, 2017 at 13:38 Morpheus_roMorpheus_ro 1215 bronze badges 1- Are still using this setup or moved to the elastic cache?? – Muzammil Commented Oct 4, 2021 at 18:06
1 Answer
Reset to default 1Finally I managed to solve this issue. The problem i had was on the ELB with the sticky sessions. I just enabled it and set a time of 3600 and now wordpress in login in users. A question remains with the real ELB power. If you do this sticky session I found some documentation that says the user is bind to one single EC2 exclusively .. feel free to comment over this. Thanks again
本文标签: pluginsWordpress on AWS with ELB
版权声明:本文标题:plugins - Wordpress on AWS with ELB 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741287530a2370358.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论