我已经安装了 Ruby 和 gem af,我正在尝试将 php(不需要 mysql 或其他服务)应用程序上传到 AppFog。
我的应用程序的目录结构在下面的屏幕截图中给出。 在我的应用程序文件类型是:
- php
- css
- 图片
- js
- jQuery
我正在从命令行应用命令,我的 PWD 是/home/mahesh/test_app
我的应用程序包大小约为 2 MB
我收到此错误
命令线程如下:Error (JSON 503): <?xml version="1.0" encoding="u...
mahesh@ubuntu:~/test_app$ af push
Would you like to deploy from the current directory? [Yn]: y
Application Name: Image_Editor_test_cld
Detected a Standalone Application, is this correct? [Yn]: n
1: Spring
2: Django
3: Erlang/OTP Rebar
4: Play
5: Rails
6: Lift
7: Grails
8: Sinatra
9: WSGI
10: JavaWeb
11: Rack
12: PHP
13: Node
14: Standalone
Select Application Type: 12
Selected PHP Application
1: AWS US East - Virginia
2: AWS EU West - Ireland
3: AWS Asia SE - Singapore
4: Rackspace AZ 1 - Dallas
5: HP AZ 2 - Las Vegas
Select Infrastructure: 3
Application Deployed URL [Image_Editor_test_cld.ap01.aws.af.cm]:
Memory reservation (128M, 256M, 512M, 1G, 2G) [128M]:
How many instances? [1]:
Bind existing services to 'Image_Editor_test_cld'? [yN]:
Create services to bind to 'Image_Editor_test_cld'? [yN]:
Would you like to save this configuration? [yN]: N
Creating Application: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (2M): OK
Error (JSON 503): <?xml version="1.0" encoding="u...
我犯了任何错误如果不是上传我的申请是否正确,那么我可以通过哪种方式上传我的申请?
我已经在 appFog 上上传了我的简单 php 应用程序,其中包含一个简单的目录和一个 .php 文件。它工作正常。