Home  >  Article  >  Backend Development  >  Comprehensive explanation of PHP zend installation techniques_PHP tutorial

Comprehensive explanation of PHP zend installation techniques_PHP tutorial

WBOY
WBOYOriginal
2016-07-15 13:34:07782browse

In the zend framework manual, there is a zf.bat create project quickstart to quickly create a project. This script is located in the bin directory and is executed from the command line. :zf.bat create project e:webrootzf_web will generate a zf_web project in the webroot directory. When PHP zend is installed, some configuration files will be created by default, as follows:

zf_web
|-- application
| |-- Bootstrap.php
| |-- configs
| | `-- application.ini
| |-- controllers
| | |-- ErrorController.php
| | `-- IndexController.php
| |-- models
| `-- views
| |-- helpers
| `-- scripts
| |-- error
| | `-- error.phtml
| `-- index
| `-- index.phtml
|-- library
|-- public
| `-- index.php
`-- tests
|-- application
| `-- bootstrap.php
|-- library
| `-- bootstrap.php
`-- phpunit.xml

The public directory is the main directory of our project. Enter the URL of this project in your browser, and you will see a welcome interface! Of course, Zend Framework requires PHP 5.1.4 or higher, but Zend strongly recommends 5.2.3 or higher. My PHP5.3.1 was just configured today, so there is basically no problem. Some online practices are LoadModule rewrite_module modules/mod_rewrite.so of httpd.conf is also configured under HTTP. To enable this support, add your zend library directory path to include_path in PHP's PHP.INI. In fact, PHP zend installation is so simple!


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446003.htmlTechArticleIn the zend framework manual, there is a zf.bat create project quickstart that can quickly create projects. This script is located in bin directory, execute from the command line: zf.bat create project e:webro...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn