简体   繁体   English

在线部署zend框架

[英]deploy zend framework online

I am new to php zend framework, I think I can get zend worked in my local computer but I am not sure how to deploy zend on line. 我是php zend框架的新手,我想我可以在本地计算机上使用zend,但是我不确定如何在线部署zend。 if I have a web sever and filezilla ftp transfer tool, what I need to do to be able to get zend work online like i did locally? 如果我有一个Web服务器和Filezilla ftp传输工具,该如何做才能像我在本地一样使zend工作在线? any help will be greatly appreciated. 任何帮助将不胜感激。

The beauty of Zend Framework is that it is very non-intrusive by nature. Zend Framework的优点在于它本质上是非侵入性的。 It is more a class set than a framework but you can use the MVC framework too to build awesome apps. 它不是框架而是类集,但是您也可以使用MVC框架来构建出色的应用程序。 My knowledge of the Zend Framework is that you simply have to upload your source on the server like it was in your original site on your machine. 我对Zend Framework的了解是,您只需要将源代码上载到服务器上,就像在计算机上原始站点中一样。

If you are using a non-conventionnal way to detect or set the path of the autoloader then you MIGHT have issues to fix. 如果您使用非常规方式检测或设置自动装带器的路径,则可能需要解决一些问题。 But if you use the define(APPLICATION_PATH, realpath(dirname( FILE )) strategy and set the includepath correctly, there should be no problem at all. 但是,如果您使用define(APPLICATION_PATH,realpath(dirname( FILE ))策略并正确设置includepath,则应该没有任何问题。

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

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