简体   繁体   English

如何在xampp中安装Zendframework 1

[英]How to install Zendframework 1 in xampp

So i'm new in zendframework and i want to try zf version 1 , i cannot find a good documentation for this. 所以我是zendframework的新手,我想尝试zf版本1,为此我找不到很好的文档。 i'm having an error when i try to run the downloaded file in xampp 当我尝试在xampp中运行下载的文件时出现错误

here's the screen shot of my folder structure 这是我的文件夹结构的屏幕截图

在此处输入图片说明

I install zend framework using composer zendframework/zenframework 我使用作曲者zendframework / zenframework安装zend框架

then here's the error 那是错误

Warning: require_once(Zend/Application.php): failed to open stream: No such file or directory in D:\\xampp\\htdocs\\Zend\\public\\index.php on line 17 警告:require_once(Zend / Application.php):无法打开流:第17行的D:\\ xampp \\ htdocs \\ Zend \\ public \\ index.php中没有此类文件或目录

Fatal error: require_once(): Failed opening required 'Zend/Application.php' (include_path='D:\\xampp\\htdocs\\Zend\\library;D:\\xampp\\php\\PEAR') in D:\\xampp\\htdocs\\Zend\\public\\index.php on line 17 致命错误:require_once():无法在D:\\ xampp \\ htdocs \\中打开所需的'Zend / Application.php'(include_path ='D:\\ xampp \\ htdocs \\ Zend \\ library; D:\\ xampp \\ php \\ PEAR')第17行的Zend \\ public \\ index.php

you should read and understand step-by-step from here : 您应该从这里阅读并逐步了解:

https://framework.zend.com/manual/1.11/en/learning.quickstart.create-project.html https://framework.zend.com/manual/1.11/zh/learning.quickstart.create-project.html

Or, 要么,

https://framework.zend.com/manual/1.12/en/learning.quickstart.html https://framework.zend.com/manual/1.12/zh/learning.quickstart.html

first try to understand the application structure. 首先尝试了解应用程序的结构。

As you are new in Zend framework, I think this is the best place to start. 当您刚接触Zend框架时,我认为这是最好的起点。

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

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