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

Best way to install plugins persistently?

オープン
#23 コメント 1 件 リアクション 0 件 担当者 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!!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。