Popular Articles
Recent Stories
把explore.json中
{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "最新相册",
"navigationBarTextStyle":"black",
"enablePullDownRefresh":"true"
}
A LAMP (Linux, Apache, MySQL, PHP) stack is a common, free and open-source web stack used for hosting web content in a Linux environment. Many consider it the platform of choice on which to develop and deploy high-performance web apps.
This guide shows how to install and test a LAMP stack on Ubuntu 16.04 (LTS).
移动设备升级到iOS10了,发现了自带的Safari浏览器不再识别meta viewport
了。以前我们都是用这个标签来让浏览器禁用缩放的。万恶的Apple~~
网上看到了一段解决方案,测试了一下确实不错,就拿来了。 在iOS10之前都是通过
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
cd /var/lib/php5 find . -name "sess_*" -print | xargs rm -v
针对Ubuntu,在php.ini中设置session.gc_probability的值为1, 因为Ubuntu默认该值为0