Windows Zendframework Project Environment built (via command line configuration) _php tips

Source: Internet
Author: User
Tags zend zend framework

1. First you have to make sure that your PHP version is not less than 5.1.4, but it is highly recommended to use 5.2.3 or later

2, to ensure that your php.ini opened the following modules:

Extension=php_pdo.dll
Extension=php_pdo_mysql.dll

3, open the Apache configuration file httpd.conf Ensure that you have opened the following modules:

LoadModule Rewrite_module modules/mod_rewrite.so

Continue to find httpd.conf files, and if allowoverride is none, make sure to change none to all

4, set the environment variable:

Like my Zend Tool Bin directory:

; F:\ZendFramework\bin

If the Php.exe command does not exist ... "Put the Php.exe directory in the environment variable as well:

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

5, OK, test under:

Enter ZF show version to display release information.

Enter ZF Create Project F:\web\zendframe to create a zendframe project in my PHP environment

6, copy the Zend file below the library of the Zend Framework you downloaded to the Library directory of the project.

7, congratulations, in the Address bar input Http://127.0.0.1/zendframe/public display interface, indicating Zend Framework configuration success!

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.