Red Hat Enterprise Linux Red Hat Enterprise Linux itself and thus derivatives like CentOS don’t ship phpMyAdmin, but the Fedora-driven repository Extra Packages for Enterprise Linux (EPEL) is doin...

yum install cmake gcc gcc-c++ php httpd phpMyAdmin git subversion kernel-headers kernel-devel thunderbird telnet -y

0

解决IIS中没有REQUEST_URI的问题

Posted in PHP at 十二月 26th, 2012 / No Comments »

PHP有很多预定义的环境变量 对于REQUEST_URI来说 使用率是非常高的.. 但是有一个问题就是 只有APACHE才有REQUEST_URI这个预定义变量(这么说可能太绝对了) 换个说法就是 只有支持 PATH_INFO的服务器才支持REQUEST...

PHP Warning:  PHP Startup: Unable to load dynamic library ‘/home/admin/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ – libpng15.so.15: cannot open shared object f...

0

php下redis与memcache性能对比

Posted in PHP at 十月 29th, 2012 / No Comments »

memcache的安装就不说了。 redis的安装参看这里:http://www.oschina.net/question/12_18065 不过要注意的是cp redis-benchmark redis-cli redis-server /usr/bin/ 可能不成功,也许是版本不同,我安装时这些文件...

0

redhat 安装ntfs-3g 支持NTFS读写

Posted in Linux, PHP at 十月 27th, 2012 / No Comments »

下载第三方软件包 ntfs-3g: http://www.tuxera.com/community/ntfs-3g-download/ 安装gcc、gcc-c++所需的编译环境 [root@NQ ntfs-3g-2011.1.15]# ./configure [root@NQ ntfs-3g-2011.1.15]# make [root@NQ ntfs-...

0

candy-chat部署

Posted in PHP, 杂七杂八 at 十月 26th, 2012 / No Comments »

candy-chat是一个网页版的Jabber 客户端。 具体部署如下: 1.安装mysql并创建名为openfire的数据库。 2.安装openfire,数据库使用上面创建的openfire,并在系统属性中将xmpp.domain设为a.ch。 3.在openfire中创建...

0

更改PHPeclipse编辑器的背景色

Posted in PHP at 六月 20th, 2012 / No Comments »

Eclipse默认的背景色,是操作系统设置,看时间久了,不舒服。要改变的话,在window-preferences-General- Editors-TextEditors-Background color,把System Default前的√去掉,自己设定。 但如果用的是PHPEclip...

0

sles10.1下安装pdo_mysql

Posted in PHP at 六月 24th, 2011 / No Comments »

sles10.1的安装源中只用php5-pdo,没有pdo_mysql,安装后phpinfo页面PDO drivers栏为空。 下载并安装PDO_MYSQL 1.0.1 wget http://pecl.php.net/get/PDO_MYSQL-1.0.1.tgz tar zxvf PDO_MYSQL-1.0.1.tgz cd PDO_MY...

0

sles10.1 ppc64编译git报错

Posted in PHP at 六月 23rd, 2011 / No Comments »

sles10.1 ppc64的安装源中没有git,下载了git的源码进行编译,make的时候报错: linux:~/git-1.7.5.4 # make all     CC daemon.o In file included from daemon.c:1: cache.h:18:18: error: zlib.h: No such ...