摘要: 编译参数如下: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-config-file-path=/usr/local/php/etc --with-iconv-dir=/usr/ --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-l 阅读全文
posted @ 2012-12-17 17:32 伊晗翾 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 找到被占用的pid: netstat -lpn | grep 80杀掉系统中已有的httpd进程killall -9 httpd(kill单个的pid没用,kill一个系统又会出现一个,直接插掉httpd进程最OK!) 阅读全文
posted @ 2012-12-17 17:08 伊晗翾 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 关闭SELinux的方法:修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。如果不想重启系统,使用命令setenforce 0注:setenforce 1 设置SELinux 成为enforcing模式setenforce 0 设置SELinux 成为permissive模式在lilo或者grub的启动参数中增加:selinux=0,也可以关闭selinux#---------------------------------------------------------------查看selinux状态:/usr/b 阅读全文
posted @ 2012-12-17 17:03 伊晗翾 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 如出现类似错误问题:error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file首先确定 libmysqlclient.so.15确实存在,出现这种错误可能是没有装载上。通过下列方法解决。解决办法:提示上看是找不到文件libmysqlclient.so.15,从加压出来的文件里找到libmysqlclient.so.15cp /mysql/lib/mysql/libmysqlclient.so.15 /usr/lib/执行ldconfig -v 更新配置。再运行服务,OK。如 阅读全文
posted @ 2012-12-17 12:31 伊晗翾 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 这里一定要切换到这个mysql目录。然后执行:scripts/mysql_install_db --user=mysql不然会出现:Could not find help file 'fill_help_tables.sql' in ./support-files or inside的错误,应该是目录的文件系统找不到! 阅读全文
posted @ 2012-12-17 12:00 伊晗翾 阅读(998) 评论(0) 推荐(0) 编辑
摘要: http://linux.chinaunix.net/techdoc/beginner/2008/03/17/983515.shtml 阅读全文
posted @ 2012-12-17 11:11 伊晗翾 阅读(171) 评论(0) 推荐(0) 编辑
摘要: http://down.chinaz.com/server/201104/244_1.htm 阅读全文
posted @ 2012-12-17 10:56 伊晗翾 阅读(124) 评论(0) 推荐(0) 编辑
摘要: http://www.javatang.com/archives/2012/09/08/1351654.html 阅读全文
posted @ 2012-12-17 10:45 伊晗翾 阅读(88) 评论(0) 推荐(0) 编辑