简体   繁体   English

Zend框架和PHP Cloud

[英]Zend framework and PHP Cloud

I have been playing around with this: https://my.phpcloud.com/container/create 我一直在玩这个游戏: https : //my.phpcloud.com/container/create

Unless you have a dev account the link above will not work. 除非您拥有开发者帐户,否则以上链接将不起作用。

What I am confused about is adding the Zend Framework here. 我感到困惑的是在这里添加Zend框架。

The choices for a container are: 容器的选择是:

Zend Server 5.6 – PHP 5.3
Zend Server 5.6 – PHP 5.4
Zend Server NextGen Sneak Peek

How do I create a empty container with Zend framework configured? 如何创建配置了Zend框架的空容器?

The container is the environment where your files will be hosted. 容器是用于托管文件的环境。 Working projects will be applications inside the container. 工作项目将是容器内的应用程序。 You can deploy a Zend Framework project to the container, after creating it. 创建容器后,可以将Zend Framework项目部署到容器。 It is similar to how we deploy a software in a server. 这类似于我们在服务器中部署软件的方式。

To create a container with Zend Framework application in it : 要创建一个包含Zend Framework应用程序的容器:

  1. Create a container with any one of the choices: Zend Server 5.6 – PHP 5.3, Zend Server 5.6 – PHP 5.4, or Zend Server NextGen Sneak Peek 创建具有以下任一选项的容器:Zend Server 5.6 – PHP 5.3,Zend Server 5.6 – PHP 5.4或Zend Server NextGen Sneak Peek

  2. After the container is provisioned, go to your container overview page, which looks like - https://my.phpcloud.com/container/yourcontainername/overview and click "New Application". 设置容器后,转到容器概述页面,该页面看起来像-https://my.phpcloud.com/container/yourcontainername/overview ,然后单击“新应用程序”。

  3. While creating the new application, you have options to pick a empty Zend Framework application. 创建新应用程序时,您可以选择一个空的Zend Framework应用程序。 See the manual here 在这里查看手册

I'm not that familiar with phpcloud but I think you may be confusing Zend Framework and Zend Server. 我对phpcloud不太熟悉,但我认为您可能会混淆Zend Framework和Zend Server。 These are two very different things. 这是两件事。 Zend Framework doesn't really require installation as such, it's just a collection of PHP classes. Zend Framework实际上并不需要安装,它只是PHP类的集合。 I would guess that ZF is normally uploaded with the apps that you put on the cloud. 我猜想ZF通常是随您放在云中的应用程序一起上传的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM