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 请问各位,如何在Jetson nano主控板的Ubuntu系统中安装PyQt5
  • ¥15 MAC安装佳能LBP2900驱动的网盘提取码
  • ¥400 微信停车小程序谁懂的来
  • ¥15 ATAC测序到底用什么peak文件做Diffbind差异分析
  • ¥15 安装ubantu过程中第一个vfat 文件挂载失败
  • ¥20 GZ::CTF如何兼容一些靶机?
  • ¥15 etcd集群部署问题
  • ¥20 谁可以帮我一下问一下各位
  • ¥15 为何重叠加权后love图的SMD与svyCreateTableOne函数绘制基线表的不一致
  • ¥150 求 《小魔指》街机游戏机整合模拟软件