基于 ARM11 嵌入式 WEB 开发环境的搭建 嵌入式 WEB 开发
目录
文档控制记录 ..................................................................................................................................2
1、引言 ............................................................................................................................................3
2、主机 web 开发环境搭建.............................................................................................................5
2.1、安装开发包.......................................................................................................................5
2.1.1 安装 apache-1.3.39 .....................................................................................................5
2.1.2 安装 php-4.4.8 ............................................................................................................5
2.2、配置 httpd.conf 与 php.ini 文件...........................................................................................5
2.2.1 配置 httpd.conf...........................................................................................................6
2.2.2 配置 php.ini 文件.....................................................................................................10
2.3、联机调试.........................................................................................................................10
3、基于 ARM11 嵌入式 web 开发环境的搭建..............................................................................11
3.1 配置 ARM11 的交叉编译环境 ...........................................................................................11
3.2、安装开发包.....................................................................................................................13
3.1.1 交叉编译 apache-1.3.39 ...........................................................................................13
3.1.2 交叉编译 PHP .........................................................................................................16
3.2、配置 httpd.conf 与 php.ini 文件.........................................................................................21
3.2.1 配置 httpd.conf..........................................................................................................21
3.2.2 配置 php.ini...............................................................................................................25
3.3、联机调试.........................................................................................................................25
4、Apache 与 php 文件结构 ...........................................................................................................29
4.1、Apache 文件结构.............................................................................................................29
4.2、PHP 文件结构 .................................................................................................................30