关于wordpress:Openshift app url在部署后显示”Welcome to you application”

Openshift app url shows "Welcome to you application" after deploy

我是 Openshift 的新手,请原谅我。
我在那里创建了一个应用程序,用墨盒填充它并推送了一个 wordpress 应用程序。部署成功:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Compressing objects: 100% (1547/1547), done.

Writing objects: 100% (1585/1585), 8.45 MiB | 1.09 MiB/s, done.

Total 1585 (delta 171), reused 0 (delta 0)

remote: Stopping MySQL cartridge

remote: Stopping PHP cartridge

remote: [Mon Jan 20 11:06:14 2014] [warn] PassEnv variable SHELL was undefined

remote: [Mon Jan 20 11:06:14 2014] [warn] PassEnv variable USER was undefined

remote: [Mon Jan 20 11:06:14 2014] [warn] PassEnv variable LOGNAME was undefined

remote: Waiting for stop to finish

remote: Waiting for stop to finish

remote: Building git ref 'master', commit bb4ea05

remote: Building PHP cartridge

remote: Preparing build for deployment

remote: Deployment id is a59ab2e6

remote: Activating deployment

remote: Starting MySQL cartridge

remote: Starting PHP cartridge

remote: Result: success

remote: Activation status: success

remote: Deployment completed with status: success

并且 rhc 也显示 deploy 没问题:

1
2
3
4
5
6
7
8
9
10
11
12
13
Deployment ID c60001d7 (active)
-------------------------------
  Git Reference:     master

  SHA1:              1ac8629

  Created At:        8:14 PM

  Hot Deploy:        false

  Force Clean Build: false

  Activations:       8:16 PM

但是应用程序的 url 会导致"欢迎使用 OpenShift 上的 PHP 应用程序"页面...我做错了什么?


您是否将您的 wordpress 应用程序放入克隆存储库的 php 目录中?还要确保您替换了 index.php 文件。