简体   繁体   English

如何离线安装Zend Framework

[英]How to install the Zend Framework offline

I have downloaded the file from Git https://github.com/zendframework/ZendSkeletonApplication/archive/master.zip 我已经从Git https://github.com/zendframework/ZendSkeletonApplication/archive/master.zip下载了文件

and then unzip the file to the working directory. 然后将文件解压缩到工作目录。

i have got the error like 'Unable to load ZF2 ...' i have downloaded the library files and pasted in vendor folder and also created the Envorinmental variable. 我遇到了类似“无法加载ZF2 ...”的错误,我已经下载了库文件并粘贴到了供应商文件夹中,还创建了Envorinmental变量。 but still the same issue. 但仍然是同样的问题。

I have come across many such issues in this forum, but no once has said about running/installing Zend OFFLINE. 我在这个论坛上遇到过很多这样的问题,但是没有人说过运行/安装Zend OFFLINE。

Can you guys, please give an idea how to install in both windows and ubuntu 大家好,请给我一个想法,如何在Windows和Ubuntu中安装

Downloading a full copy of Zend Framework 2 separately and extracting it into vendor/ZF2/library should do it. 应该单独下载Zend Framework 2的完整副本并将其解压缩到vendor/ZF2/library (To see if it worked see if you ended up with a file at vendor/ZF2/library/Zend/Loader/AutoloaderFactory.php .) (要查看它是否有效,请查看您是否最终获得了vendor/ZF2/library/Zend/Loader/AutoloaderFactory.php 。)

If not you'll need to debug a little in init_autoloader.php to see what's going on. 如果不是,您将需要在init_autoloader.php进行一些调试,以查看发生了什么。

Doing it 'live' with Composer will make your life easier in the long run though. 从长远来看,使用Composer进行“实时”处理会使您的生活更轻松。

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

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