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

时间:2016-09-20 21:17:32

标签: php wordpress google-app-engine

我正在尝试按照Ubuntu 16.04上的Quick Start WordPress for Google App Engine指南进行操作。我正处于运行(\d+)的步骤,例如在给定的示例中

dev_appserver.py

我已将Github存储库克隆到目录dev_appserver.py --php_executable_path=~/php-5.4.25/installdir/bin/php-cgi path_to_this_directory 中,并从那里尝试运行此命令,如下所示:

/Kurt/Website/appengine-php-wordpress-starter-project

我没有收到任何错误消息;但是,如果我在浏览器中访问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 ,我会收到“404 Not Found”:

enter image description here

可能出了什么问题?

更新
如果我检查http://localhost:8080/wp-admin/install.php,我会收到以下错误消息:

localhost:8080

1 个答案:

答案 0 :(得分:1)

在屏幕截图中,您访问了端口8000. 8000是管理端口。您希望8080作为默认模块。所以:http://localhost:8080/wp-admin/install.php