Zend Framework Introduction Guide

Source: Internet
Author: User



Installation article (Windows platform)

* Install the PHP environment. The Zend Framework (ZF below) requires PHP 5.1.4+ to function properly. If you have installed the PHP environment, skip this step. Under Win, I recommend using WAMP as the development environment. As long as all the way Next,wamp Apache, PHP5, MySQL5, phpMyAdmin and so on are all installed. (Reminder: The MySQL user root default password is empty after loading). Click on the Wamp icon to open Rewrite_module under Apachemodules. If you want to use zend_db for example MySQL, you have to open PHP setting->; Php_pdo and Php_pdo_mysql extensions under Phpextensions.
* Install TORTOISESVN. TORTOISESVN is the client of SVN under win. The purpose of installing TORTOISESVN is to get the latest ZF source code, which you can skip if you use Zend's regularly released ZF source code.
* Obtain ZF Source code. If you use TORTOISESVN, create a folder (such as ZF) somewhere on your disk, right-click on the folder, select Svncheckout, and type in the address bar http://framework.zend.com/svn/framework/ Trunk, click OK, TORTOISESVN began to work to obtain ZF's source code. You can also download the source code http://framework.zend.com/download. But always, it's easy to use SVN.
* Add a path for ZF. Edit php.ini (wamp php.ini in Apache/bin directory), Edit include_path field (for example include_path = ".; G: Your ZF Path library ").
* Configure the ZF project. The method of using Haohappy is recommended http://www.111cn.net/bbs/thread-5730-1-4.html.
* Start the journey. The Xgwork Novice in the recommended forum learns Zend framework serialization (because the path has been added to ZF in the previous step, so set_include_path can be omitted from the tutorial), and IBM's understanding Zend Framework series.

Apache Configuration:

Edit httpd.conf File
Found it
#LoadModule Rewrite_module modules/mod_rewrite.so This line and remove the "#" in front of you.

Finally found
AllowOverride None
Change to:
AllowOverride all to make the/htaccess file work
To this Apache configuration is complete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.