As an http server, Nginx can be used as a web page static server. Before deploying static resources, let's learn about the Nginx configuration file
#Start the process, usually set equal to the number of CPUs
#Global error log and PID file
#error_log logs/error.log notice;
Posted by condoug on Sun, 05 Apr 2020 01:51:52 -0700
Working environment, Alipay account is company, app application and secret key configuration are my own application, and the process is temporarily skipped.
appid, application private key, application public key, Alipay public key
'appId' => '20180300000000',
Posted by hchsk on Sat, 04 Apr 2020 20:08:39 -0700
A wonderful question. Consider the method of finding the longest ascending sequence by dp of N * logNN * logN. We store each of these values in multiset. Then the ranking of one value from small to large is the sequence length with the ...
Posted by gsb on Sat, 04 Apr 2020 20:06:42 -0700
1, Operation on the main server: complete the installation of docker; omitted
2, View image
[root@localhost ~]#docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
centos/shop2.web.top latest 8fc9b211671a 14 minutes ago 1.835 GB
3, Running image ...
Posted by LiamS94 on Sat, 04 Apr 2020 10:45:54 -0700
The blogger recommended jQuery Validate before, because it was used before, but the configuration was a little bit cumbersome. Until the recent project used the validform, it opened my eyes. The whole interface suddenly felt too friendly. Let's take a few renderings first.
There are very few css and j ...
Posted by chemoautotroph on Fri, 03 Apr 2020 23:15:41 -0700
The official sources on Ubuntu, such as PHP5.6.x in Ubuntu 14.04 and PHP7.0.x in Ubuntu 16.04, what should I do if I want to install PHP7.1 and PHP7.2 on Ubuntu 16.04?
The answer is to install from a third-party source, ppa:ondrej/php It is a well-known PHP source (currently maintaining php5.6,php7.0,php7.1,php7.2). Use this source to install t ...
Posted by RobNewYork on Fri, 03 Apr 2020 15:54:46 -0700
Zabbix monitoring platform installation and deployment
For the deployment of Zabbix monitoring platform, at least four components need to be installed, namely, Zabbix? Server, Zabbix? Web, Databases, and Zabbix? Agent. The detailed steps for the installation and configuration of Zabbix monitoring platform are as follows:
1, System environment ...
Posted by AsiaUnderworld on Fri, 03 Apr 2020 14:08:13 -0700
Recently, we have developed small programs, and we have been looking at the payment of small programs. After a day's hard work, the applet payment function is finally realized.
Thanks to csdn blogger: the "little program and php to realize wechat payment" released by Qiandui xuegedust
Posted by ltoto on Fri, 03 Apr 2020 08:32:08 -0700
Appearance mode: a unified interface is defined to access a group of interfaces in the subsystem.
Appearance pattern and adapter pattern are similar in implementation, but their application intention is different.
The adapter pattern is intended to change one interface into another, and the facade pattern is intended ...
Posted by rxbanditboy1112 on Fri, 03 Apr 2020 07:55:24 -0700
PHP needs to start the following services to send mail:
SMTP: Simple Mail Transfer Protocol for sending mail
POP3: Simple mail access protocol, one-way, local mail operations will not be synchronized to the mail server to receive mail
IMAP: is a more complex mail access protocol than POP3. It is bidirectional, and local operations on mailboxes ...
Posted by dustbuster on Fri, 03 Apr 2020 07:54:38 -0700