1.安装准备(1)下载apache安装包http://archive.apache.org/dist/httpd/2.下载安装apache依赖关联包(共四个:apr,apr-iconv,apr-util,pcre)http://archive.apache.org/dist/apr/(1)安装apr#tarzxvfapr-1.4.6.tar.gz#cdapr-1.4.6#./configure#make#makeinstall(2)安装apr-ic..
分类:
Web程序 时间:
2015-07-03 00:31:10
阅读次数:
160
1.准备文件http://www.phpmyadmin.net/home_page/news.php由于我的apache与php都相应配置已完成,这里不再说明,详见以下两篇博文http://yagetang.blog.51cto.com/1780698/1670244#apache安装http://yagetang.blog.51cto.com/1780698/1670248#PHP安装2.操作配置#unzipphpMyAdmi..
分类:
Web程序 时间:
2015-07-02 19:36:36
阅读次数:
135
以xampp为例讲解,步骤如下:
1:下载对应的mod_fastcgi ,下载参考网站:http://www.apachelounge.com/download/VC11/
2:拷贝mod_fastcgi到apache安装目录modules下面,目录下面都是mod 打头的.so文件
3:编辑httpd.conf,最后面加入如下:
LoadModule fcgid_module module...
apache安装webalizer步骤以Redhat为例:#yuminstallwebalizer(搭建本地yum源略)#vi/etc/webalizer.conf(确保下面两行没问题)按a或i进入编辑模式LogFile/var/log/httpd/access_logOutputDir/var/www/html/usage(默认为/var/www/usage)按Esc键退出编辑模式:wq(保存并退出..
分类:
Web程序 时间:
2015-06-25 01:39:01
阅读次数:
486
#apache安装函数
functionapache_ins{
#定义日志变量为局部变量
localIN_LOG=$LOGPATH/${logpre}_apache_install.log
echo
#httpd_inf="/tmp/httpd_ins.txt"
[-f$httpd_inf]&&return
#开始编译apache
echo"installinghttpd..."
cd$IN_SRC
rm-frhttpd-$APA_VER
tarxfh..
分类:
Web程序 时间:
2015-06-24 16:47:59
阅读次数:
242
PHP访问Mysql数据库
PHP可以通过mysql接口和mysqli接口访问mysql数据库。需要加入mysql和mysqli接口才能访问mysql数据库。
windows下配置amp:
a、安装apache:
找到\Apache\conf\httpd.conf文件,用记事本打开,找到:Define SRVROOT这一项,将其右方的值改为当前你Apache安装存放的目录地址,如:Define S...
分类:
数据库 时间:
2015-06-23 20:11:04
阅读次数:
190
1)设置Python 安装 python-dev 安装 trac 安装 Django2)设置 mysql 修改服务器字符集3)设置 apache 安装 apache-wsgi4)设置 phpmyadmin
分类:
其他好文 时间:
2015-06-20 20:47:50
阅读次数:
96
Nginx可以作为七层负载均衡服务器,实现后端真实服务器的调度,主要是利用upstream指令进行反向代理。Nginx负载均衡实现的拓扑图3.进行安装配置服务器2台apache安装并启动服务2台apahce+php安装并启动服务Nginx安装配置文件反向代理轮询的Nginx版本0.8.55,1.0.9不能进行正常启..
分类:
其他好文 时间:
2015-06-19 21:47:32
阅读次数:
286
1.安装mod_wsgi下载mod_wsgi.so放在modules(在apache安装路径中)文件夹中下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi 由于mod_wsgi.so是windows动态链接库,因此它和apache、pyt...
1、apache安装:yum-yinstatllhttpdhttpd-devel安装完成后配置/etc/httpd/conf/httpd.conf查找到DirectoryIndex默认设置为DirectoryIndexindex.htmlindex.html.var修改为DirectoryIndexindex.phpindex.php3index.htmlindex.html.varindex.shtml添加Apache中PHP运行模式查找到Ad..
分类:
Web程序 时间:
2015-06-15 16:53:47
阅读次数:
204