aws-samples / aws-samples/eb-php-wordpress
wp-content symlink
- 主要语言
- PHP
- 星标
- 166
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I’m having hard time on adding persistence on all wp-content directory.
My main problem is that if I use symlink on wp-content, a lot of plugins/themes stop working because they use some __FILE__ and __DIR__ constants, and those constants return the real path of the file(the resolved path, so /wpfiles, where the EFS volume is mounted)
The result is all scripts/css have urls like : /wpfiles/themes/...
So I search for a way to mount directly the EFS on /var/app/current/wp-content, someone have some advices ?
贡献指南
调研方向
首先阅读 repository 中 Elastic Beanstalk 和 EFS 的配置说明,重点关注 wp-content 以及挂载路径 /var/app/current/wp-content。issue 没有指定配置文件或测试;完成标准是提供一种有文档记录且受支持的方法来直接挂载 EFS,同时避免通过符号链接解析的 URL 导致 WordPress 插件和主题失效。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, php, wordpress
- 领域
- cloud, infrastructure
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100