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.

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

报告相同问题?

悬赏问题

  • ¥20 求快手直播间榜单匿名采集ID用户名简单能学会的
  • ¥15 DS18B20内部ADC模数转换器
  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历