为非常非常新手安装 zend sketelon
install zend sketelon for very very newbie
我已经安装了 wamp,google chrome,postgre sql,mysql。
我在安装 zend 框架、curl、sketelon 应用程序时遇到问题。
我从 youtube 上搜索教程,google,zend 的 developt,但我无法遵循它们,因为缺少某些步骤,我想知道如何做到这一点以及我从哪里开始学习成为网络程序,我的目的就是用zend做博客。
因此,如果您有完整的教程,请给我 link 或在此处分享,
谢谢。
- 从 https://github.com/zendframework/ZendSkeletonApplication
下载 "Zend Skeleton Application"
- 同样解压
基本骨架应用程序设置 - 打开命令提示符和 运行 命令
A. "php ./composer.phar self-update"
一种。它将更新作曲家 - 依赖管理器
B. "php ./composer.phar update"
C。 "php ./composer.phar install"
注意:-如果这一步出现以下问题
[您必须启用 openssl 扩展才能通过 https 下载文件]
那么您应该通过删除分号 (;) 来启用 openssl 在 D:\wamp\bin\php\php5.4.12\php.ini 中找到行 ;extension=php_openssl.dll 并取消注释(通过删除 ;)。
一种。它将安装 zend 框架和其他依赖项。
b. zend 框架将安装在 ./vendor/zendframework
虚拟主机设置
一次性设置
1.新建一个vhost允许使用向导直接访问开发区http://cesaric.com/?p=255
2. 在 httpd.conf 文件中为 zend base-directory 创建一个文档根目录,类似于 DocumentRoot "d:/wamp/www/" [change path]
行
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" 并开始构建相同的
更多详情请参考下文linkhttp://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html
zend 提供了入门指南 here
并为我个人发现的博客生成 mwop.net 它的所有者名称 Matthew Weier O'Phinney 。他是 zend technology 的 zend 框架的负责人,他的博客 mwop.net 确实是我在互联网上和许多人发现的一个很好的例子。他还谈到了为什么以及如何创建他的博客 here .
您可以找到他的博客源代码 here,其中包含最新的 zend 框架代码,因此一旦您关注他的博客,您可能会找到有史以来最好的 zend 框架编码标准和编码模式。
这是zend框架的启动。跟随领导你会发现最好的东西。
您也可以按照这篇文章了解如何安装 zf2 框架 here
我已经安装了 wamp,google chrome,postgre sql,mysql。 我在安装 zend 框架、curl、sketelon 应用程序时遇到问题。 我从 youtube 上搜索教程,google,zend 的 developt,但我无法遵循它们,因为缺少某些步骤,我想知道如何做到这一点以及我从哪里开始学习成为网络程序,我的目的就是用zend做博客。
因此,如果您有完整的教程,请给我 link 或在此处分享, 谢谢。
- 从 https://github.com/zendframework/ZendSkeletonApplication 下载 "Zend Skeleton Application"
- 同样解压
基本骨架应用程序设置 - 打开命令提示符和 运行 命令 A. "php ./composer.phar self-update" 一种。它将更新作曲家 - 依赖管理器 B. "php ./composer.phar update"
C。 "php ./composer.phar install"
注意:-如果这一步出现以下问题 [您必须启用 openssl 扩展才能通过 https 下载文件] 那么您应该通过删除分号 (;) 来启用 openssl 在 D:\wamp\bin\php\php5.4.12\php.ini 中找到行 ;extension=php_openssl.dll 并取消注释(通过删除 ;)。 一种。它将安装 zend 框架和其他依赖项。 b. zend 框架将安装在 ./vendor/zendframework
虚拟主机设置
一次性设置 1.新建一个vhost允许使用向导直接访问开发区http://cesaric.com/?p=255 2. 在 httpd.conf 文件中为 zend base-directory 创建一个文档根目录,类似于 DocumentRoot "d:/wamp/www/" [change path]
行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" 并开始构建相同的
更多详情请参考下文linkhttp://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html
zend 提供了入门指南 here 并为我个人发现的博客生成 mwop.net 它的所有者名称 Matthew Weier O'Phinney 。他是 zend technology 的 zend 框架的负责人,他的博客 mwop.net 确实是我在互联网上和许多人发现的一个很好的例子。他还谈到了为什么以及如何创建他的博客 here .
您可以找到他的博客源代码 here,其中包含最新的 zend 框架代码,因此一旦您关注他的博客,您可能会找到有史以来最好的 zend 框架编码标准和编码模式。
这是zend框架的启动。跟随领导你会发现最好的东西。
您也可以按照这篇文章了解如何安装 zf2 框架 here