Recently, I found an interesting framework Laravel written by PHP. i have never used PHP to write any software. I searched the Internet to find any Blog written by Laravel. At last, I found one called PJ Blog, which is written by Pigjian. I tried to…
Introduction Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web serve…
关键点1:chmod-socket=666 (mysite_uwsgi.ini) 关键点2 : 工程目录和虚拟环境目录搞清楚 几个参考: http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-…
The steps for installing the nginx on Ubuntu below. 1.install the packages first. apt-get install gcc apt-get install libpcre3 libpcre3-dev apt-get install zlib1g zlib1g-dev apt-get install openssl openssl-dev 2.download the source code of nginx from…
web根目录:/var/www/html 更换 apt-get 源cd /etc/apt/sources.listdeb http://ftp.debian.org/debian jessie main contrib non-freedeb http://ftp.debian.org/debian jessie-updates main contrib non-freedeb http://security.debian.org jessie/updates main contrib non-…
https://blog.csdn.net/haiyanggeng/article/details/79186982 PHP:7.1.13Nginx:1.12.2 1. 安装PHP# 添加源brew tap homebrew/dupesbrew tap homebrew/versionsbrew tap homebrew/homebrew-php#更新源brew update#安装brew install php71 --with-imap --with-tidy --with-debug --…
1.是什么限制Laravel框架的速度? Laravel框架启动的时候需要加载很多文件,再加上其出了名的生态环境好,所以在开发过程中我们就会发现有非常多的已经造好的轮子,这也就使得Laravel的一次启动的磁盘IO特别高(就是要加载很多文件嘛),博主之前的一遍博客Laravel5框架性能优化技巧中也提到过一些优化,但是并没有实质的解决磁盘IO高的问题. 既然已经知道了问题所在,那就很容易解决了,只要每次启动Laravel的时候不都重新加载这些文件就好了,这时候大名鼎鼎的swoole就登场了. 2…
可道云真的很强大,安装包很小,功能却很齐全,还可以自定义轻应用如果有手机客户端就更好了 研究了一下,可道云根目录放到外置存储设备(移动硬盘)会更合适,改路径的方法下面有提到上传文件时一个文件会在用户目录分割,再转移,如果放到内部存储,会出现上传速度慢的情况 贴上几张图我的设备:迪优美特x6ii,五年前的全志A20处理器,但是安装可道云很合适单片机ADC测量电压和电流计算功率盒子运行功耗非常低! 上传文件时2.8W左右 先刷入cubian2.0:     请移步:http://www.geekfa…
买了台VPS,准备搭建一个博客.用过几个博客框架还是觉得Wordpress好用.主题多,插件也非常的便利,而且大多还免费开源.搭建也很简单,其实安装好php+mysql+nginx+wordpress就差不多了.其他的需要一些简单的配置就可以挂上去了. 输入以下命令安装MySQL+nginx+php: sudo apt-get update apt-get install mysql server mysql-client apt-get install nginx apt-get instal…
imagick 拓展的下载地址 https://windows.php.net/downloads/pecl/releases/imagick/ 可惜的是这个地址最新版没有php7.2, 如果是7.1可以推荐 https://windows.php.net/downloads/pecl/snaps/imagick/ 这个snaps 版本支持php7.2, 此时最新为3.4.3 当前服务器为NGINX,  API320170718,NTS,VC15, 故PHP使用NTS版本,由此下载拓展: htt…