Home  >  Article  >  Backend Development  >  Setting up zendframework project environment under windows (configuration through command line)_PHP tutorial

Setting up zendframework project environment under windows (configuration through command line)_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:14:36782browse

1. First, you must make sure your PHP version is no less than 5.1.4, but it is strongly recommended to use 5.2.3 or higher

2. Make sure your php.ini has the following modules enabled:

extension=php_pdo.dll
extension=php_pdo_mysql.dll

3. Open Apache’s configuration file httpd.conf and make sure you have enabled the following modules:

LoadModule rewrite_module modules/mod_rewrite.so

Continue to search for the httpd.conf file. If AllowOverride is None, be sure to change None to all

4. Set environment variables:

设置环境变量For example, the bin directory of my zend tool:

;F:ZendFrameworkbin

If "php.exe command does not exist..." appears, put the php.exe directory into the environment variable:

;D:softwarewampbinphpphp5.3.10

5. Ok, let’s test:

zend framework配置Enter zf show version to display version information.

Enter zf create project f:webzendframe to create the zendframe project in my php environment

zend framework项目目录

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 the zend framework configuration is successful!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/326244.htmlTechArticle1. First of all, you must make sure that your PHP version is not lower than 5.1.4, but it is strongly recommended to use 5.2.3 or higher version 2. Make sure your php.ini has the following module enabled: extension=php_pdo.dll extension=ph...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn