摘要: Linux修改用户组usermod -g group loginname强行设置某个用户所在组usermod -G groups loginname把某个用户改为 group(s)usermod -a -G groups loginname把用户添加进入某个组(s) 阅读全文
posted @ 2014-11-17 13:12 geniusxjq 阅读(475) 评论(0) 推荐(0) 编辑
摘要: XAMPP中proftpd的简明配置方法 用LAMPP的安装方法可以开一个默认的nobody用户,用lampp security就可以初始设置相应的默认用户密码。如果要有多用户,又怎样管理。目录怎样设置呢?具体要求如下:使用Lampp的proftpd,开通多个FTP用户,并各分配一个目录,而且需要限... 阅读全文
posted @ 2014-11-17 12:58 geniusxjq 阅读(3686) 评论(0) 推荐(0) 编辑
摘要: 解决php configure: error: Cannot find ldap libraries in /usr/lib.错误错误说明今天在centos 6.3 64位版本上安装PHP5.4.3时在./configure 步骤的时候出现了下面错误configure: error: Cannot ... 阅读全文
posted @ 2014-11-14 10:54 geniusxjq 阅读(809) 评论(0) 推荐(0) 编辑
摘要: PHP编译选项PHP安装./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/bin/mysql_... 阅读全文
posted @ 2014-11-14 10:42 geniusxjq 阅读(518) 评论(0) 推荐(0) 编辑
摘要: PHP添加mcrypt扩展模块系统环境:CentOS6.3APACHE:httpd-2.4.2PHP:php-5.3.21一.安装mcrypt1.下载Libmcrypt,mhash,mcrypt安装包libmcrypt-2.5.8.tar.gz# wget http://sourceforge.ne... 阅读全文
posted @ 2014-11-14 10:30 geniusxjq 阅读(3416) 评论(0) 推荐(0) 编辑
摘要: 无需重新编译php加入ftp扩展的解决方法本文为大家介绍无需重新编译php加入ftp扩展的方法,有需要的朋友可以参考下首先,进入源码目录cd php-5.2.13/ext/ftp#运行phpize生成configure/usr/local/php/bin/phpize#编译,指定php-config... 阅读全文
posted @ 2014-11-14 10:27 geniusxjq 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 安装和使用php的mcrypt扩展PHP程序员们在编写代码程序时,除了要保证代码的高性能之外,还有一点是非常重要的,那就是程序的安全性保障。PHP除了自带的几种加密函数外,还有功能更全面的PHP加密扩展库Mcrypt和Mhash。其中,Mcrypt扩展库可以实现加密解密功能,就是既能将明文加密,也可... 阅读全文
posted @ 2014-11-14 10:12 geniusxjq 阅读(7776) 评论(0) 推荐(0) 编辑
摘要: 几个有用的PHP.ini配置项-路径和目录路径和目录1、include_path = string作用域:PHP_INI_ALL默认值:NULL此参数指定的路径是include()、require()和fopen_with_path()等函数使用的基本路径。若存在多个目录,用分号分隔。2、doc_r... 阅读全文
posted @ 2014-11-14 09:46 geniusxjq 阅读(1471) 评论(0) 推荐(0) 编辑
摘要: apachemod_speling.so 忽略URL大小写(自动纠错)打开配置文件 httpd.conf加入LoadModulespeling_modulemodules/mod_speling.so在 加入CheckSpelling on如:CheckSpelling on //开启Spelin... 阅读全文
posted @ 2014-11-14 09:43 geniusxjq 阅读(505) 评论(0) 推荐(0) 编辑
摘要: PHP运行出现Notice : Use of undefined constant 的解决办法Notice: Use of undefined constant ALL_PS - assumed 'ALL_PS' in E:\Server\vhosts\www.lvtao.net\global.ph... 阅读全文
posted @ 2014-11-14 09:33 geniusxjq 阅读(352) 评论(0) 推荐(0) 编辑