首页 / php

标签为 ‘php’ 的文章

LAMP安装笔记

2009-10-04 01:00

使用Redhat Advanced Server4 Updata5 32位操作系统

开启iptables并允许SSH和HTTP通信,禁用了SElinux 阅读全文 »

eAccelerator 安装笔记

2009-01-04 03:53

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It typically reduces server load and increases the speed of your PHP code by 1-10 times.

使用 SSH:
yum install php-devel
yum groupinstall ‘Development Tools’ 阅读全文 »

PHP 编译笔记

2009-01-03 18:08

1. theplanet WHM 编译笔记。php version 5.2.5

./configure --enable-bcmath --enable-calendar --enable-ftp
--enable-gd-native-ttf --enable-libxml --enable-magic-quotes
--enable-mbstring --enable-pdo=shared --enable-sockets
--prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs
--with-curl=/opt/curlssl/ --with-freetype-dir=/usr --with-gd
--with-gettext --with-imap=/opt/php_with_imap_client/
--with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos
--with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2/
--with-mcrypt=/opt/libmcrypt/ --with-mhash=/opt/mhash/
--with-mime-magic --with-mysql=/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-openssl=/usr
--with-openssl-dir=/usr --with-pdo-sqlite=shared
--with-png-dir=/usr --with-sqlite=shared --with-ttf
--with-xmlrpc --with-xpm-dir=/usr --with-zlib
--with-zlib-dir=/usr

2. Shanghai Server 默认编译笔记。php version: 5.1.6 阅读全文 »