Set up the zendframework project environment in windows (through command line configuration)

Source: Internet
Author: User
Tags zend framework

1. First, make sure that your PHP version is no lower than 5.1.4. However, we strongly recommend that you use 5.2.3 or later.

2. Make sure that the following modules are enabled for your php. ini:

Extension = php_pdo.dll
Extension = php_pdo_mysql.dll

3. Open the Apache configuration file httpd. conf to make sure that you have enabled the following modules:

LoadModule rewrite_module modules/mod_rewrite.so

Continue to find the httpd. conf file. If AllowOverride is set to None, change None to all.

4. Set environment variables:

For example, the bin directory of my zend tool:

; F: \ ZendFramework \ bin

If the export php.exe command does not exist ..." Put the php.exe directory in the environment variable:

; D: \ software \ wamp \ bin \ php \ php5.3.10

5. OK. test:

Enter zf show version to display the version information.

Enter zf create project f: \ web \ zendframe to create the zendframe project in my php environment.

6. Copy the zend file under the library of the zend framework you downloaded to the library directory of the project.

7. Congratulations, enter http: // 127.0.0.1/zendframe/public in the address bar to display the interface, indicating that zend framework is successfully configured!

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.