一、说明:1.nginx与php的整合是将php作为单独的应用程序运行。nginx只处理静态页面,也就是*.html,而动态页面*.php交由php进行处理。二、安装源码编译环境:三、准备所需源码包(附件:源码包):四、nginx编译安装:1.安装依赖包:2.编译安装nginx:五、php编译安装:1.安装..
分类:
Web程序 时间:
2014-10-04 20:59:37
阅读次数:
281
编译mysql.so# 进入php-5.2.14源码目录cd /usr/local/src/php-5.2.14# 进入 mysql ext 的源码目录cd ext/mysql# 构建编译配置, 假设php 的编译目录是 /usr/local/php//usr/local/php/bin/phpiz...
分类:
数据库 时间:
2014-09-26 00:56:37
阅读次数:
358
linux PHP 编译安装参数详解./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/bin/...
分类:
Web程序 时间:
2014-09-18 18:31:44
阅读次数:
248
1、下载phpwgethttp://cn2.php.net/distributions/php-5.6.0.tar.gz2、安装相关组件yuminstallgccgcc-c++curl-develbzip2bzip2-developensslopenssl-devellibxml2-devellibjpeglibjpeg-develyuminstalllibmcrypt*3、编译./configure--prefix=/usr/local/php--enable-fpm--with-..
分类:
Web程序 时间:
2014-09-17 18:55:03
阅读次数:
254
今天给php编译安装Fileinfo的时候,报configure:WARNING:Youwillneedre2c
0.13.4orlaterifyouwanttoregeneratePHPparsers.看了下说是要re2c这个东西.解决办法:wgethttp://sourceforge.net/projects/re2c/files/re2c/0.13.5/re2c-0.13.5.tar.gz/downloadtarzxfre2c-0.13.5.tar.gz..
分类:
Web程序 时间:
2014-09-09 09:10:09
阅读次数:
256
apt-get build-dep php5安装所需依赖包./configure --enable-opcache --prefix=/opt/php --with-apxs2=/usr/bin/apxs2 --with-mysql=mysqlnd --with-mysqli=mysqlnd --w...
分类:
Web程序 时间:
2014-08-23 16:39:11
阅读次数:
304
实验目标:1,两台前端apache和php都挂载nfs文件系统中的php程序。2,mysql为单独一台服务器,为php页面程序提供数据库存储3,静态页面文件都放在nfs服务器上4,需要dns轮循为两台前端服务器分配访问请求缺点:压力都在文件存储服务器上优点:不用考虑两台web服务器静态页面一..
分类:
数据库 时间:
2014-08-16 01:11:00
阅读次数:
487
安装mariadb到/usr/local/下解压到该目录#tarxfmariadb-5.5.36-linux-x86_64.tar.gz-C/usr/local/为后期方便升级使用给mariadb-5.5.36-linux-x86_64创个链接#ln-svmariadb-5.5.36-linux-x86_64/mysql。mysql的数据库文件默认是在/usr/local/mysql/data/下的,随着数据的增加,..
分类:
数据库 时间:
2014-08-14 03:58:28
阅读次数:
440
PHP运行模式:1)cgi通用网关接口(CommonGatewayInterface))2)fast-cgi常驻(long-live)型的CGI3)cli命令行运行(CommandLineInterface)4)web模块模式(apache等web服务器运行的模块模式)HTTPServer有三种架构比较流行:(1)Apache+mod_php5(2)lighttp+spawn-fcgi(3)..
分类:
Web程序 时间:
2014-08-01 20:05:32
阅读次数:
381
我在搭建监控系统时候出现JSON模块安装失败,PHP5.3系统Centos6.3,安装json报错ZVAL_DELREF符号未知错误...#Warning:PHPStartup:Unabletoloaddynamiclibrary‘/home/json/json-1.2.1/modules/json.so‘-/home/json/json-1.2.1/modules/json.so:undefinedsymbol:ZVAL_DELREFinUnk..
分类:
Web程序 时间:
2014-07-14 16:40:36
阅读次数:
329