Getting started with ZendFramework-PHP source code

Source: Internet
Author: User
Ec (2); installation (Windows platform) & nbsp; * install the PHP environment. ZendFramework (ZF) must be PHP5.1.4 + to run properly. Skip this step if you have already installed the PHP environment. In Windows, we recommend that you use WAMP as the development environment. All the way to next, WAMP will install Apache, PHP5, MySQL5, phpMyAdmin and so on. (Reminder: script ec (2); script




Installation (Windows)

* Install the PHP environment. Zend Framework (ZF) requires PHP 5.1.4 + to run properly. Skip this step if you have already installed the PHP environment. In Windows, we recommend that you use WAMP as the development environment. All the way to next, WAMP will install Apache, PHP5, MySQL5, phpMyAdmin and so on. (Reminder: the default password of the mysql user root is blank after the installation ). Click the WAMP icon to enable rewrite_module under ApacheModules. If you want to use Zend_Db to take Mysql as an example, you have to enable PHP Setting->; php_pdo and php_pdo_mysql extensions under PHPExtensions.
* Install TortoiseSVN. TortoiseSVN is the client of svn under win. TortoiseSVN is installed to obtain the latest ZF source code. If you use the zf Source Code released regularly by zend, skip this step.
* Obtain the ZF source code. If TortoiseSVN is used, create a folder (such as ZF) somewhere on your disk, right-click the folder, select SVNcheckout, and enter export in the address bar. You can also download the source code at http://framework.zend.com/download. But in general, it is still convenient to use SVN.
* Add a path for ZF. Edit php. ini (wamp's php. ini is in the apache/bin directory) and edit the include_path field (for example, export de_path = "..; G: Your ZF path library ").
* Configure the ZF project. We recommend that you use Haohappy at http://www.111cn.net/bbs/thread-5730-1-4.html.
* Start the journey. We recommend that new users of xgwork in the Forum study Zend Framework serialization (because the path has been added to ZF in the previous step, the set_include_path in this tutorial can be omitted ), there are also IBM's understanding of Zend Framework series.

Apache configuration:

Edit the httpd. conf file
Find
# LoadModule rewrite_module modules/mod_rewrite.so and remove "#" from the previous line.

Finally, find
AllowOverride None
Changed:
AllowOverride All to make the/htaccess file take effect
Apache configuration has been completed.

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.