logo资料库

centos 安装HTTP.docx

第1页 / 共3页
第2页 / 共3页
第3页 / 共3页
资料共3页,全文预览结束
centos 安装 http 2.2.5 php5.4 oracle instant client 11 wget http://download.oracle.com/otn/linux/instantclient/10204/oracle-instantclient-basic-10.2.0.4-1.i 386.rpm?AuthParam=1383710174_c2e44054d0a0892d8679fbe23477017e wget http://download.oracle.com/otn/linux/instantclient/10204/oracle-instantclient-devel-10.2.0.4-1.i 386.rpm?AuthParam=1383710201_3974fc2ba4e9999eb02a3bd89ecbc45a wget http://cn2.php.net/distributions/php-5.5.5.tar.gz http://www.oracle.com/technetwork/cn/articles/bibbs-php-leopard-095965-zhs.html 参 --enable-module=alias --enable-rewrite --enable-shared=vhost_alias 考文章 yum install autoconf tar xvf httpd-2.2.25.tar cd httpd-2.2.25 ./configure --prefix=/usr/local/apache2 --enable-module=most --enable-module=so --enable-shared=max --enable-module=vhost_alias make make install yum install gd yum install gd-devel -y yum install ImageMagick ImageMagick-devel # yum install mysql-devel -y #yum install mysql mysql-server -y #/etc/init.d/mysqld start yum install libxml2 -y yum install libxml2-devel -y ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-mysql make && make install cp ~/php-5.4.20/php.ini-development /usr/local/php/lib/php.ini 51 # Example: 52 # LoadModule foo_module modules/mod_foo.so 53 LoadModule php5_module modules/libphp5.so 284 296 AddType application/x-httpd-php .php rpm -Uvh oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.rpm rpm -Uvh oracle-instantclient11.2-devel-11.2.0.1.0-1.x86_64.rpm /usr/local/php/bin/pecl install oci8 (2)对 php.ini 进行设置,php.ini 文件底部增加 oci8.so [oracle oci8] extension=oci8.so 安装 memcache 文档 http://www.php.net/manual/zh/memcache.installation.php pecl install memcache
为 Apache 添加路径重写模块(CentOS) http://hi.baidu.com/bikong0411/item/e846ae29a370bcff51fd875e
分享到:
收藏