惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
L
LangChain Blog
IT之家
IT之家
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
U
Unit 42
B
Blog RSS Feed
GbyAI
GbyAI
Microsoft Security Blog
Microsoft Security Blog
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
T
Threatpost
C
CERT Recently Published Vulnerability Notes
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
Vercel News
Vercel News
S
Schneier on Security
Spread Privacy
Spread Privacy
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - 叶小钗
雷峰网
雷峰网
博客园_首页
人人都是产品经理
人人都是产品经理
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
T
Tor Project blog
L
Lohrmann on Cybersecurity
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
P
Privacy International News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tenable Blog
V
Vulnerabilities – Threatpost
大猫的无限游戏
大猫的无限游戏
博客园 - 【当耐特】
V
V2EX
Security Latest
Security Latest
A
About on SuperTechFans
Cloudbric
Cloudbric
S
Security Affairs
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
TaoSecurity Blog
TaoSecurity Blog

博客园 - 系咪噶

[JAVA基础]流文件读写文件编码转换 最近转战东软 Apache + php 配置 php基础教程之PHP面向对象技术(全面讲解) 今日无事,将一同志之毕设完结 SQL查询基本练习1:(作业) SQL Server 高级应用(周六讲座) 面向对象之CoreJava(第一课) CVS的使用(一课时) PL/SQL第三课(学习笔记) PL/SQL第二课(作业) PL/SQL第二课(学习笔记) PL/SQL第一课(学习笔记) Oracle第五课(学习笔记) Oracle第四课(学习笔记) 全步骤安装mysql SQL Server 存储过程的分页 无法连接到Visual Studio 的Localhost Web服务器 Oracle第三课(学习中笔记)
apache 新建虚拟机 +Zend Framework建立
系咪噶 · 2009-07-08 · via 博客园 - 系咪噶

官方下载 Zend Framework

1、LoadModule rewrite_module modules/mod_rewrite.so

2、建立映射主机 c:\windows\system32\drivers\etc\hosts  加入 127.0.0.1 sugou

3、建立虚拟主机

Listen 8080 #监听端口
       <VirtualHost *:8080>
            ServerAdmin admin@sugou.local                           
            ServerName sugou      #域名 输入"http://sugou:8080/即可到达该目录
            DocumentRoot "e:/php/sugou/htdocs"   
            <Directory "e:/php/sugou/htdocs">
                 Options All
                 AllowOverride All

                 </Directory>
 php_value include_path ",;e:/php/sugou/include;e:/webservices/phpinstall/PEAR"
 php_value magic_quotes_gpc off
 php_value register_globals off
 php_value display_errors on
        </VirtualHost>    

4、建立. .htaccess 文件

cmd->cd 到index.php目录 键入命令 edit .htaccess 输入
           文件内容为
           RewriteEngine on
           RewriteRule !\.(js|ico|gif|bmp|jpg|png|css|xml|html|txt)$ index.php [NC]

5、加载Zend Framework

      index.php

<?php

      require_once("Zend/Loader.php"); //这里自动获取路径 总路径为 index_path+"Zend/Loader.php"

      Zend_Loader::loadClass('Zend_Controller_Front');  
      Zend_Loader::loadClass('Zend_Config_Ini');  
      Zend_Loader::loadClass('Zend_Registry');  
      Zend_Loader::loadClass("Zend_View");  
      Zend_Loader::loadClass('Zend_Db');
      echo "good information";

?>