码迷,mamicode.com
首页 > 其他好文 > 详细

禅道bug安装报错

时间:2016-09-11 14:15:44      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:

 

 

技术分享

[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.
Dont 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

技术分享

禅道bug安装报错

标签:

原文地址:http://www.cnblogs.com/bass6/p/5861585.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!