zoukankan      html  css  js  c++  java
  • 禅道bug安装报错

    [root@lnmp src]# grep "session.save" /etc/php.ini
    ; http://php.net/session.save-handler
    session.save_handler = files
    ;     session.save_path = "N;/path"
    ;     session.save_path = "N;MODE;/path"
    ; http://php.net/session.save-path
    session.save_path = "/tmp"
    ;       (see session.save_path above), then garbage collection does *not*

    PHP中PDO_MYSQL扩展安装

    [root@lnmp PDO_MYSQL-1.0.2]# ls
    config.m4  mysql_driver.c     pdo_mysql.c      php_pdo_mysql_int.h
    CREDITS    mysql_statement.c  php_pdo_mysql.h  php_pdo_mysql_sqlstate.h

     http://pecl.php.net/package/PDO_MYSQL

    [root@lnmp PDO_MYSQL-1.0.2]# /app/server/php/bin/phpize 
    Configuring for:
    PHP Api Version:         20121113
    Zend Module Api No:      20121212
    Zend Extension Api No:   220121212
    [root@lnmp PDO_MYSQL-1.0.2]# ./configure --with-php-config=/app/server/php/bin/php-config --with-pdo-mysql=/app/server/mysql

    在make之前还要做一个mysql的header文件的软连接。因为mysql安装的时候指定了目录,不做软连接的话,还是找不到header文件。

    [root@lnmp PDO_MYSQL-1.0.2]# ln -s /app/server/mysql/include/* /usr/local/include/
    [root@lnmp PDO_MYSQL-1.0.2]# make && make install

    生成如下堤示:

    Build complete.
    Don't forget to run 'make test'.
    
    Installing shared extensions:     /app/server/php/lib/php/extensions/no-debug-non-zts-20121212/
    [root@lnmp extensions]# ls /app/server/php/lib/php/extensions/no-debug-non-zts-20121212/
    opcache.a  opcache.so  pdo_mysql.so

  • 相关阅读:
    OCP-1Z0-052-V8.02-28题
    OCP-1Z0-052-V8.02-27题
    OCP-1Z0-052-V8.02-26题
    OCP-1Z0-052-V8.02-25题
    Oracle DB 管理还原数据
    Flex中常见的图
    OCP-1Z0-052-V8.02-23题
    OCP-1Z0-052-V8.02-21题
    OCP-1Z0-052-V8.02-20题
    OCP-1Z0-052-V8.02-19题
  • 原文地址:https://www.cnblogs.com/bass6/p/5861585.html
Copyright © 2011-2022 走看看