Zend Framework 1 安装配置

来源:互联网 发布:怎样在淘宝网上购物 编辑:程序博客网 时间:2024/05/17 03:45
php环境:APMServ5.2.6
ZF version:ZendFramework-1.11.10
第一步:解压到D盘并改名Zend
第二步:php.ini
修改 include_path:D:\Zend\library\Zend;
环境变量path:D:\Zend\bin;D:\apmserv5.2.6\php;

cmd zf show version 测试配置成功
cd D:/APMServ5.2.6/www/htdocs 
zf create project kehuanedu
apache 配置文件 httpd.conf
493行:
#APMServ默认虚拟主机
NameVirtualHost *:80
<VirtualHost *:80>
 ServerName kehuan.edu
 DocumentRoot "D:/APMServ5.2.6/www/htdocs/kehuanedu/public"
<Directory "D:/APMServ5.2.6/www/htdocs/kehuanedu/public"> 
 Options FollowSymLinks IncludesNOEXEC Indexes
 DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi 
default.cgi index.pl default.pl index.shtml
 AllowOverride None 
 Order Deny,Allow 
 Allow from all 
</Directory>
</VirtualHost>


修改host文件:
127.0.0.1 kehuan.edu


open kehuan.edu
原创粉丝点击