摘要: Unlock KeyringEnter password for default keyring to unlock the application 'Google Chrome' (/opt/google/chrome/chrome) wants access to the default keyring, but it is lockedgoogle了很多,找到这篇http://askubuntu.com/questions/31786/chrome-asks-for-password-to-unlock-keyring-on-startup大概解决方法是:Go to Sy 阅读全文
posted @ 2013-02-19 10:00 黄丁丁 阅读(2628) 评论(0) 推荐(1)
摘要: 我的系统是Centos 6.3 64位uname -aLinux nala-huangdd 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux下载相应软件(没有装pcre的同时也得装,方法详见:《在Ubuntu 11.10 x64上 编译安装 php、mysql、nginx、xdebug等开发环境》,这里pcre安装的时候要加参数 --enable-unicode-properties不然运行的时候会报一个错:Mon Feb 4 16:11:43 Assert 阅读全文
posted @ 2013-02-04 15:38 黄丁丁 阅读(489) 评论(0) 推荐(0)
摘要: 一开始就学LNMP,今天想装个apache,顺便把php升级了最新版,安装apache大致按照网上方法编译了,没有出先问题。PHP编译时要加--with-apxs2=/app/apache/bin/apxs./configure --prefix=/app/php5 --with-config-file-path=/app/php5/etc --with-mysql=/app/mysql5 --with-mysqli=/app/mysql5/bin/mysql_config --with-iconv-dir=/usr/local --with-zlib --with-libxml-dir=/. 阅读全文
posted @ 2013-01-21 10:42 黄丁丁 阅读(328) 评论(0) 推荐(0)
摘要: 安装过程:cd nginx-1.3.6./configure --user=www --group=www --prefix=/app/nginx --with-http_stub_status_module --with-pcre=../pcre-8.20 --add-module=../nginx_concat_module/make && make install/app/nginx/sbin/nginxnginx_concat_module下载地址:http://code.taobao.org/p/nginx_concat_module/src/nginx最新版本下载地 阅读全文
posted @ 2012-12-20 14:38 黄丁丁 阅读(1026) 评论(0) 推荐(0)
摘要: 记下自己的php.ini和php-fpm.conf配置,方便下次使用。php.inierror_reporting = E_ALLdisplay_errors = Ondisplay_startup_errors = Ontrack_errors = Onsession.save_path = "/app/php5/var/tmp"session.bug_compat_42 = Onsession.bug_compat_warn = Ondate.default_latitude = 31.7667date.default_longitude = 35.2333date.s 阅读全文
posted @ 2012-12-20 14:20 黄丁丁 阅读(700) 评论(0) 推荐(0)
摘要: tar zxvf xcache-2.0.1.tar.gz cd xcache-2.0.1cp /app/php5/bin/phpize /usr/bin/phpize./configure --with-php-config=/app/php5/bin/php-config --enable-xcache --enable-xcache-optimizermake && make install再在php.ini最后加入[xcache-common]zend_extension=/app/php5/lib/php/extensions/no-debug-non-zts-2010 阅读全文
posted @ 2012-12-20 13:04 黄丁丁 阅读(274) 评论(0) 推荐(0)
摘要: 运行 thg &报下面两个错误,但是程序能正常执行。QGtkStyle was unable to detect the current GTK+ theme.Qt: Session management error: None of the authentication protocols specified are supported意思大概就是你当前登录的用户是普通用户,然而却做命令行里root帐号下执行thg &来调用Qt,所以才会报错。当然,如果现在命令行中以当前用户去运行,就不会有错误提示了。 阅读全文
posted @ 2012-12-20 12:58 黄丁丁 阅读(819) 评论(0) 推荐(0)
摘要: 下载地址:https://github.com/iliaal/php_excelhttp://www.libxl.com/download/libxl.tar.gzgit clone https://github.com/iliaal/php_excel php_excelwget http://www.libxl.com/download/libxl.tar.gztar zxvf libxl.tar.gzcd php_excelphpize //如果提示phpize不存在,那就这样/app/php5/bin/phpize // /app/php5是我的php安装目录./configure.. 阅读全文
posted @ 2012-11-29 15:19 黄丁丁 阅读(633) 评论(0) 推荐(0)
摘要: 看了张宴的2011PHP技术高峰论坛演讲ppt,发现fastcgi_finish_request();这函数,顺便了解下其功能特性。<?phpecho '输出内容给用户';fastcgi_finish_request();/* 用户访问完成,不会等待下面的操作。*/echo '测试内容';sleep(5); //假设一个耗时的处理过程file_put_contents('/tmp/logs.txt', '记录日志');?>我们会发现页面显示“输出内容给用户”而后面的“测试内容”却没有显示,但是之后的代码也执行了,因为/ 阅读全文
posted @ 2012-11-27 13:36 黄丁丁 阅读(574) 评论(0) 推荐(0)
摘要: CentOS 6.3 64/32bit 安装 tortoisehg,运行thg没反应问题解决方法 阅读全文
posted @ 2012-11-20 16:12 黄丁丁 阅读(1942) 评论(0) 推荐(0)