随笔分类 - PHP
摘要:Nginx is so good at delivering requests to many others. Good!Now let's use the nginx upstream module to finish this.http://nginx.org/en/docs/http/ngx_...
阅读全文
摘要:what we have?iRedMail -> http://iredmail.comGet the script over there. http://www.iredmail.com/download.htmlHere we use ubuntu14.04 as server.Just...
阅读全文
摘要:there are several procedurewhich include:1. Install the packagessudo apt-get install php5 php5-gd php5-cgi php5-mysql libapache2-mod-php5 apache2 mysq...
阅读全文
摘要:I spent several days on building a system about this. And make it work well with serveral thousand lines of codes.
阅读全文
摘要:正如同标题,标题的顺序是先从Excel表单,保存为csv文档。步骤:1、这个可以用linux下的libra office打开 abc.xls2、用libra office 将 abc.xls 保存成 abc.csv 文档(此例里面,abc.csv 文件大小约有40多MB), 中间需要选择 delimeter 分割符, quote 等3、用搭建好的LAMP的环境,打开phpmyadmin,选择好以前建立的数据库。然后选择导入按钮。看到右边有数据库文件大小限制。我已经修改好了。大小限制是512MB,足够大的数据库了。一般的情况下,默认的数据库上传文档为2MB。具体可以看这里上传csv文档,转换成数
阅读全文
摘要:#2006 - MySQL server has gone away 问题解决方法原文地址:http://www.cnblogs.com/bisonjob/archive/2009/08/18/1548611.html1、应用程序(比如PHP)长时间的执行批量的MYSQL语句。最常见的就是采集或者新旧数据转化。解决方案:在my.ini文件中添加或者修改以下两个变量:wait_timeout=2880000interactive_timeout = 2880000关于两个变量的具体说明可以google或者看官方手册。如果不能修改my.cnf,则可以在连接数据库的时候设置CLIENT_INTERA
阅读全文
摘要:phpmyadmin上传大小限制原帖地址:http://www.hmidc.com/home/news/?13914.html时间:2011-6-21 11:17:57作者:红帽之家来源:红帽之家查看:712评论:0内容摘要:1. 遇到导入过大文件时,首先检查php.ini配置文件中的以下三个地方,upload_max_filesize,memory_limit和 post_max_size,并且推荐修改的值要稍大于导入的巨大sql数据库文件;依照这个提示,我修改了以上三个在php.ini中的...1.遇到导入过大文件时,首先检查php.ini 配置文件中的以下三个地方,upload_max_
阅读全文