Home > Backend Development > PHP Tutorial > PHP+Sqlite+Apache+ZendFramework配置

PHP+Sqlite+Apache+ZendFramework配置

WBOY
Release: 2016-06-23 14:30:47
Original
1098 people have browsed it

0. 先学习了解一下MVC(model, view, controle)的开发模式;

1. 下载Zend Framework, WAMP;

2. 安装WAMP之后,将Zend Framework解压到WAMP文件夹内;

3. 启动WAMP,左键单击后显示菜单,选择"配置文件";

4. 首先配置httpd.conf:
    Ctrl+f搜索"mod_rewrite",解决没有"public"的问题;

5. 配置php.ini:
   5.1 Ctrl+f搜索"include_path",找到添加路径的位置,添加
       Zend Framework文件夹下library的路径;
   5.2 分别搜索
       "extension=php_pdo.dll",
       "extension=php_pdo_sqlite.dll",
       "extension=php_sqlite.dll",
       将这几项前面的注释符号去掉;

6. 重启WAMP(退出程序,然后在运行程序).

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template