GoogleAppEngine wordpress 在更新和插件安装时抱怨(无法创建目录)
GoogleAppEngine wordpress complains (Could not create directory) on update and plugin install
我在更新 wordpress 或在本地版本的 google 应用程序引擎中安装 wordpress 插件时遇到问题。我收到以下消息。
Downloading install package from
https://downloads.wordpress.org/plugin/event-espresso-decaf.4.8.38.decaf.zip…
Unpacking the package…
Could not create directory.
使用相同的代码库,我可以使用 MAMP(Macintosh、Apache、MySQL 和 PHP)安装插件。但是使用 google Pyton 脚本 (dev_appserver.py
) 失败。
我尝试通过授予所有用户写入权限来更改文件系统的权限。尝试以 sudo dev_appserver.py .
执行。遵循了其他 post、 中的建议,运气不佳。
这里有什么问题?,使用 MAMP 在我的本地看起来一切正常,但是当我部署到 GAE (appcfg.py -A APP-ID update app.yaml
) 时相同的代码中断。这里有什么问题
Staring SDK 1.9.18, dev_appserver disables local file writing by default to better simulate the production environment. You can enable file writing by adding "google_app_engine.disable_readonly_filesystem=1" to your php.ini file.
我还写了一篇博客 post 关于 运行 App Engine 灵活环境上的 WordPress:
https://wp.gaeflex.ninja/2016/03/25/using-wordpress-multisite/
你也来试试吧
我在更新 wordpress 或在本地版本的 google 应用程序引擎中安装 wordpress 插件时遇到问题。我收到以下消息。
Downloading install package from https://downloads.wordpress.org/plugin/event-espresso-decaf.4.8.38.decaf.zip…
Unpacking the package…
Could not create directory.
使用相同的代码库,我可以使用 MAMP(Macintosh、Apache、MySQL 和 PHP)安装插件。但是使用 google Pyton 脚本 (dev_appserver.py
) 失败。
我尝试通过授予所有用户写入权限来更改文件系统的权限。尝试以 sudo dev_appserver.py .
执行。遵循了其他 post、 中的建议,运气不佳。
这里有什么问题?,使用 MAMP 在我的本地看起来一切正常,但是当我部署到 GAE (appcfg.py -A APP-ID update app.yaml
) 时相同的代码中断。这里有什么问题
Staring SDK 1.9.18, dev_appserver disables local file writing by default to better simulate the production environment. You can enable file writing by adding "google_app_engine.disable_readonly_filesystem=1" to your php.ini file.
我还写了一篇博客 post 关于 运行 App Engine 灵活环境上的 WordPress: https://wp.gaeflex.ninja/2016/03/25/using-wordpress-multisite/
你也来试试吧