我是Openshift的新手,请原谅我。 我在那里创建了一个应用程序,用墨盒填充并推送了一个wordpress应用程序。部署成功:
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还显示部署正常:
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应用程序”页面...我做错了什么?
答案 0 :(得分:1)
您是否将wordpress应用程序放入克隆存储库的php目录中?还要确保替换了index.php文件。