aws-samples / aws-samples/eb-php-wordpress

Best way to install plugins persistently?

未关闭
#23 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
166
派生
92
PR 合并指标
30 天内没有已合并 PR

描述

Hello!

I'm a bit of a noob with both AWS and WordPress; I've been wrangling with the setup (routing to a custom domain, through HTTPS, etc.) for the last four days and finally have Vanilla WordPress setup and running as laid out in this guide--

BUT, I've noticed that whenever I install plugins through the admin panel they're wiped every time my EC2 instance reboots.

I'm assuming this is because the plugin source isn't bundled in with the deployment code and is only stored locally, so with every reboot it's gone forever and takes a reinstall. It appears though that plugin _preferences_ are stored persistently in my RDS database, so even if I lose the plugins, as long as I reinstall them I don't lose their configurations.

I'm assuming in order to make my plugins persistent, I need to stick them in the root folder that I deploy the whole site with; but that feels like it could make updating the plugins tricky. (Or at least, a lot trickier than managing them through the admin panel--right now getting them into root means navigating everything through the command line.)

I guess I'm being lazy, but I'm just curious--is there a way to get close to the ease of functionality the admin panel offers both in terms of installing and updating plugins, while maintaining the persistence of bundling plugins in directly with your deployment?

Thank you!!

贡献指南

打开贡献指南

调研方向

首先阅读 repository 的安装和部署说明,然后检查 Elastic Beanstalk 设置如何使用 repository 中描述的由 EFS 支持的共享资源。当一种已记录或已实现的方法能够在实例重启后保留已安装的插件,同时保留实用的更新工作流时,这项工作就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, php, wordpress
领域
cloud, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。