Home > Article > Backend Development > Comprehensive explanation of PHP zend installation techniques_PHP tutorial
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!