Download the Yii2 installation package to Liunx and find that it is accessible with localhost/basic/web
But if you use www.basic.com, you won't be able to access it. The page will prompt 500, as follows
www.basic.com is currently unable to handle this request
Then Stack Overflow looked up and found that just modify php.ini (save the sourc ...
Posted on Sat, 22 Dec 2018 09:51:05 -0800 by tigomark
pool of php-fpm
php-fpm.conf can set up multiple pools, in which one pool resource is exhausted, which will cause other sites to be unable to access resources and report 502 errors. It is necessary to separate the sites and use separate pools.
View the current pool
1. Adding pool means ...
Posted on Fri, 21 Dec 2018 01:39:05 -0800 by m00p4h
Nginx characteristicsNginx has the advantages of stable performance, rich functions, simple operation and maintenance, fast processing of static files and little system resource consumption.1. Compared with Apache, Nginx serves as a Web server: it uses fewer resources, supports more concurrent connections and is more efficient.2. As a load bala ...
Posted on Thu, 20 Dec 2018 22:03:06 -0800 by russian_god
21.1 Introduction to NoSQL
Non-relational database is NoSQL. Relational database represents MySQL. For relational database, it is necessary to store data into database, table, row and field. When querying, it matches one line by one according to the condition. When the quantity is very large, it takes time and resources, espe ...
Posted on Thu, 20 Dec 2018 06:48:05 -0800 by jinky32
Docker implements encapsulation of software into a complete file system based on LXC. It can run all the code, running environment, system tools and system libraries required in the docker container. Because docker uses a host-independent file system, it can ensure that the software still runs in different host environments. Doker shares an op ...
Posted on Wed, 19 Dec 2018 19:33:05 -0800 by spramod
NanoPi K2 (Amlogic S905) Ubuntu 16.04 Compiles Android 5.1 System Source Code
1. Download source code
Download here https://www.mediafire.com/folder/8xn2iirciznqh/S905#dtzqzeqaf8114 Compress packages, or download them using repo. according to http://wiki.friendlyarm.com/wiki/index.php/NanoPi_K2/zh#.E7.BC.96.E8.AF.91Android Download here.
Posted on Wed, 19 Dec 2018 18:42:05 -0800 by SUNNY ARSLAN
Access Control - Prohibit php parsing.
note prohibits parsing PHP under a directory, which is very useful. When we do website security, this is used a lot. For example, some directories can upload files. In order to avoid the Trojan horse of uploaded files, we prohibit access under this directory to parse PHP.
1. Disable parsing PHP first
Posted on Wed, 19 Dec 2018 03:57:04 -0800 by mohson
Some problems about inconsistency between backend return data type and interface document type
When a project is mature enough, crash problems rarely arise. Basically, most of the crashes occur in inconsistent data types when docking background data, as well as the problems of array crossover and dictionary null assignment. I' ...
Posted on Tue, 18 Dec 2018 15:06:04 -0800 by utpal
Factory P is a factory that produces cartons. After manually inputting three parameters n p a, the carton production line can automatically produce three side lengths as follows
(a mod P,a^2 mod p,a^3 mod P)
(a^4 mod p,a^5 mod p,a^6 mod P)
(a^(3n-2) mod p,a^(3n-1) mod p,a^(3n) mod p)
n cartons. In order to save space, these ...
Posted on Mon, 17 Dec 2018 00:03:04 -0800 by edg322
First of all, support Ali Yun! Aliyun ECS server, lucky ticket. Welcome to collect:
I. Installation of Nginx
1. Download the nginx-release package
wget http://nginx.org/pack ...
Posted on Sun, 16 Dec 2018 00:24:04 -0800 by wertz33