zoukankan      html  css  js  c++  java
  • centos6.5上配置apache + mysql + php4.4.9 + eaccelerator-0.9.5 + postgresql-8.3.13 备忘


    1、apache + mysql 直接利用 yum 安装

    yum -y install httpd httpd-devel mysql mysql-server httpd-manual mod_perl mod_auth_mysql mysql-connector-odbc mysql-devel libdbi-dbd-mysql

    2、编译postgresql
    -----

    3、编译php4.4.9
    ./configure --enable-mbstring --with-zlib --without-iconv --with-mysql --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/sbin/apxs
    make clean
    make
    make install

    4、编译eaccelerator
    export PHP_PREFIX="/usr/local"
    $PHP_PREFIX/bin/phpize
    ./configure --enable-shared --with-php-config=$PHP_PREFIX/bin/php-config
    make
    make install

    5、修改php.ini文件
    extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
    eaccelerator.shm_size="16"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"

    建立目录
    mkdir -p /tmp/eaccelerator
    chmod 777 /tmp/eaccelerator

  • 相关阅读:
    jsp第四次作业
    软件测试第一次作业
    jsp第三次作业
    jsp第二次作业
    JSP第九次作业
    JSP第八次作业
    JSP第七次作业
    JSP第六次作业
    JSP第五次作业
    JSP第四次作业2
  • 原文地址:https://www.cnblogs.com/coffee_cn/p/3813460.html
Copyright © 2011-2022 走看看