我已经安装了wamp、google chrome、postgre sql、mysql。 我在安装 zend 框架、curl、sketelon 应用程序时遇到问题。 我从 youtube、google、zend 的 developt 搜索教程,但我无法按照它们进行操作,因为缺少某些步骤,我想知道该怎么做以及我从哪里开始学习成为网络程序,我的目的是制作博客用 zend。
所以如果你有完整的教程,请给我链接或在这里分享, 谢谢。
最佳答案
- 从https://github.com/zendframework/ZendSkeletonApplication 下载“Zend Skeleton 应用程序”
- 同样解压
基本骨架应用程序设置 - 打开命令提示符,然后运行命令 A. "php ./composer.phar self 更新" A。它将更新 Composer - 依赖管理器 B. "php ./composer.phar 更新"
C. “php ./composer.phar 安装”
注意:-如果这一步出现以下问题 [您必须启用 openssl 扩展才能通过 https 下载文件] 那么您应该通过删除分号 (;) 来启用 openssl 在 D:\wamp\bin\php\php5.4.12\php.ini 中找到行 ;extension=php_openssl.dll 并取消注释(通过删除 ;)。 A。它将安装 zend 框架和其他依赖项。 b. zend 框架将安装在 ./vendor/zendframework
虚拟主机设置
一次性设置 1.创建一个新的虚拟主机,允许使用指南直接访问开发区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 骨架模块”并开始构建相同的
有关更多详细信息,请参阅以下链接 http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html
关于php - 为非常非常新手安装 zend sketelon,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31979219/