dongnanbi4942 2016-09-20 21:17
浏览 63
已采纳

在Google App Engine上本地运行Wordpress时出错

I'm trying to follow the Quick Start WordPress for Google App Engine guide on Ubuntu 16.04. I'm at the step where I have to run dev_appserver.py, such as in the given example

dev_appserver.py --php_executable_path=~/php-5.4.25/installdir/bin/php-cgi path_to_this_directory

I've cloned the Github repository into the directory /Kurt/Website/appengine-php-wordpress-starter-project, and from there I tried to run this command as follows:

kurt@kurt-ThinkPad:/Kurt/Website/appengine-php-wordpress-starter-project$ dev_appserver.py --php_executable_path=/usr/bin/php-cgi /Kurt/Website/appengine-php-wordpress-starter-project
INFO     2016-09-20 20:57:51,681 devappserver2.py:769] Skipping SDK update check.
INFO     2016-09-20 20:57:51,756 api_server.py:205] Starting API server at: http://localhost:45719
INFO     2016-09-20 20:57:51,765 dispatcher.py:197] Starting module "default" running at: http://localhost:8080
INFO     2016-09-20 20:57:51,766 admin_server.py:116] Starting admin server at: http://localhost:8000

I'm not getting any error messages; however, if I visit http://localhost:8080/wp-admin/install.php in my browser I get a "404 Not Found":

enter image description here

What could have gone wrong?

Update
If I check localhost:8080, I do get the following error messages:

Warning: require(/Kurt/Website/appengine-php-wordpress-starter-project/wordpress/index.php): failed to open stream: No such file or directory in /home/kurt/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 147

Fatal error: require(): Failed opening required '/Kurt/Website/appengine-php-wordpress-starter-project/wordpress/index.php' (include_path='.:/Kurt/Website/appengine-php-wordpress-starter-project:/home/kurt/Downloads/google-cloud-sdk/platform/google_appengine/php/sdk') in /home/kurt/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 147
  • 写回答

1条回答 默认 最新

  • dongxing7318 2016-09-20 22:05
    关注

    In your screenshot, you visited port 8000. 8000 is the admin port. You want 8080 for the default module. So: http://localhost:8080/wp-admin/install.php.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作