摘要: <?php/** * Very simple error logging to file * * Sometimes it is difficult to debug PHP background activities * However, using the PHP error logging facility we can store all PHP errors to a file, and then review separately. * Using this method, the debug details are stored at: /cache/myDEBUG-999 阅读全文
posted @ 2013-03-12 17:07 awinlei 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: ## This is the main Apache server configuration file. It contains the# configuration directives that give the server its instructions.# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.# In particular, see# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html># f 阅读全文
posted @ 2013-03-12 17:05 awinlei 阅读(312) 评论(0) 推荐(0) 编辑
摘要: PHP Warning: date(): It is not safe to rely on the system’s timezone settings[PHP]date.timezone = "America/New_York"extension=memcache.so;;;;;;;;;;;;;;;;;;;; About php.ini ;;;;;;;;;;;;;;;;;;;;; PHP's initialization file, generally called php.ini, is responsible for; configuring many of 阅读全文
posted @ 2013-03-12 17:04 awinlei 阅读(4150) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/haven/archive/2012/10/31/2747583.html此为从服务器拷贝代码到本地,配置本地环境出现330错误:错误 330 (net::ERR_CONTENT_DECODING_FAILED):未知错误。方法1:打开后台控制面板:Configuration->Enable GZip Compression属性值 设为 0;方法2:打开/includes/init_includes/init_gzip.php找到源代码:if ($_GET['main_page'] != FILENAME_DOWNLOAD & 阅读全文
posted @ 2013-03-12 17:01 awinlei 阅读(1442) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/os/RedHat/54975.htmlhttp://www.php.net/manual/zh/memcache.installation.php#if apt-get, rpm, or yum doesn't workcd /usr/src/wget http://pecl.php.net/get/memcache-2.2.4.tgztar -zxvf memcached-2.2.4.tgzcd memcached-2.2.4phpize && ./configure --enable-memcache && 阅读全文
posted @ 2013-03-12 17:00 awinlei 阅读(262) 评论(0) 推荐(0) 编辑