问题:为非常非常新手安装 zend 骨架

我已经安装了 wamp、google chrome、postgre sql、mysql。我在安装 zend 框架、卷曲、骨架应用程序时遇到问题。我从 youtube、google、zend 的 developert 搜索教程,但我无法遵循它们,因为缺少一些步骤,我想知道如何做到这一点以及我从哪里开始学习成为 web 程序,我的目的是制作博客与zend。

所以如果你有完整的教程,请给我链接或在这里分享,谢谢。

解答

1.从下载“Zend Skeleton Application” https://github.com/zendframework/ZendSkeletonApplication

2.解压一样

  1. 基本骨架应用程序设置 - 打开命令提示符,然后运行命令 A.“php ./composer.phar self-update”它将更新作曲家 - 依赖管理器 B. “php ./composer.phar update”

C. “php ./composer.phar 安装”

注意:-如果在此步骤中出现以下问题[您必须启用openssl扩展才能通过https下载文件],那么您应该通过删除分号来启用openssl(;)在D中查找行;extensionu003dphp_openssl.dll :\wamp\bin\php\php5.4.12\php.ini 并取消注释(通过删除;)。一个。它将安装 zend 框架和其他依赖项。湾。 zend 框架将安装在 ./vendor/zendframework

虚拟主机设置

一次性设置 1. 创建一个新的 vhost 以允许使用指南直接访问开发区域http://cesaric.com/?pu003d2552. 在 httpd.conf 中为 zend 基本目录创建一个文档根目录类似于 DocumentRoot "d:/wamp/www/" [更改路径] 行的文件

Note-if there is an error check your xxx-error.log file, 

find file in following path

D:\wamp\bin\apache\Apache2.4.4\logs\xxx-error.log

if it has following line

D:/zend/zend_test/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or      defined by a module not included in the server configuration

then go to wampserver->apache->apache modules and check rewrite_module and then restart your        wampserver and check your site

每个项目设置 1. 从“C:\Windows\System32\drivers\etc”编辑主机文件 2. 在 apache 文件夹中的文件 httpd-vhosts.conf 中创建一个虚拟主机

对于每个模块 1. 从https://github.com/zendframework/ZendSkeletonModule下载“Zend Skeleton Module”并开始构建相同的模块

有关更多详细信息,请参阅以下链接http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html

Logo

PostgreSQL社区为您提供最前沿的新闻资讯和知识内容

更多推荐