用CodeIgniter开发项目简单配置
2012-07-30 21:28
218 查看
CodeIgniter2.1.0下载地址:http://115.com/file/anlf4sdj#CodeIgniter_2.1.0.zip
1、下载CodeIgniter框架,解压到任意目录下,重命名为你的项目名,如:解压后的目录是D:/phptest/CodeIgniter2.1.0,重命名后:D:/phptest/myproject
2、找到Apache安装目录下的conf / httpd.conf文件,将其打开。
(1)添加一新的端口: Listen 8080(该端口号可任意,建议大于8000)
(2)在文件最后添加以下片段:
在浏览器上输入:localhost:8080
如出现以下画面则表示配置成功了
The page you are looking at is being generated dynamically by CodeIgniter.
If you would like to edit this page you'll find it located at:
The corresponding controller for this page is found at:
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
Page rendered in 0.0933 seconds
1、下载CodeIgniter框架,解压到任意目录下,重命名为你的项目名,如:解压后的目录是D:/phptest/CodeIgniter2.1.0,重命名后:D:/phptest/myproject
2、找到Apache安装目录下的conf / httpd.conf文件,将其打开。
(1)添加一新的端口: Listen 8080(该端口号可任意,建议大于8000)
(2)在文件最后添加以下片段:
NameVirtualHost *.8080 //该端口号与以上新增的端口号相同,下同 <VirtualHost *:8080> ServerName www.myphpdns.com //此处可任意,“www.myphpdns.com”也可写成其他的。如:“www.phpCodeIgniter.com” DocumentRoot D:/phptest/myproject //项目路径,以下的Directory 一样 </VirtualHost> <Directory "D:/phptest/myproject"> Options FollowSymLinks AllowOverride all Order deny,allow allow from all //设置权限 </Directory>
在浏览器上输入:localhost:8080
如出现以下画面则表示配置成功了
Welcome to CodeIgniter!
The page you are looking at is being generated dynamically by CodeIgniter.If you would like to edit this page you'll find it located at:
application/views/welcome_message.php
The corresponding controller for this page is found at:
application/controllers/welcome.php
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
Page rendered in 0.0933 seconds
相关文章推荐
- 详解使用Typescript开发node.js项目(简单的环境配置)
- 使用Typescript开发node.js项目——简单的环境配置
- iOS开发:给项目工程里面添加Podfile配置文件,以及CocoaPods的简单使用
- PHP开发之使用CodeIgniter搭建一个简单的项目
- iOS开发:给项目工程里面添加Podfile配置文件,以及CocoaPods的简单使用
- IDEA + Eclipse 开发 Maven Flex 项目的简单流程和要点
- CVSNT配置及其与eclipse集成开发项目管理
- 安装配置pear、phpunit、Selenium(netbeans下开发yii框架项目)
- 简单讲解gitblit的使用---项目多人开发代码管理工具
- 项目管理 : 软件开发项目管理的简单方法
- vue项目开发配置信息
- Java项目开发环境构建工具 Gradle 使用笔记(简单、基本)
- java 学习备忘录(一):jsp项目建立及开发环境的基本配置
- eclipse新建maven web项目步骤、出现错误解决方法及maven settings简单配置
- Android应用开发高效工具集1---ant构建简单Android项目
- 一个用ionic2开发的简单项目总结 beta10
- 【Android】简单详细的安卓开发环境配置及运行第一个程序Helloworld
- 软件开发与项目管理易理——简单项目管理
- SpringMVC+Spring4+Mybatis3集成,开发简单Web项目
- 简单发布使用NetAdvantage开发的项目