Alibaba cloud CentOS 7.4 configures Nginx, PHP and Mariadb

CentOS 7.4 basic environment configuration Add third party source yum There are two common third-party sources: EPEL and IUS. You can see the latest installation methods at https://ius.io/GettingStarted/ Automatic installation curl -L https://setup.ius.io | sh Manual installation (if automatic installation is used, this will be omitted) ...

Posted by n1tr0b on Sun, 03 May 2020 02:57:00 -0700

jquery's $. ajax() and php background interaction

Look at it. A series of tutorials on novice ajax : I have a preliminary understanding of Ajax, but I mainly want to use ajax to interact with php in front and back, so I want to realize this idea step by step, because I am not particularly familiar with Ajax, so I write rookie like code, sorry.. After reading the series of novice ajax tutori ...

Posted by Dm7 on Sun, 03 May 2020 01:32:16 -0700

Attention to infinite classification

Infinite level classification is mainly realized by recursive algorithm and special data table design My code 1 /** 2 * Get the menu information of the order 3 * Using recursive methods 4 */ 5 public function getHierarchicalMenus($pid , $condition=array() , $cid = 0){ 6 $data = array(); 7 if (!isset($c ...

Posted by gray_bale on Sat, 02 May 2020 22:01:29 -0700

Eight of three phases of Linux: Architecture nginx practical application

8, Architecture nginx practical application (1) Introduction of web service software There are three kinds of software commonly used to provide static Web services: 1 Apache: This is the mainstream of small and medium-sized Web services, the big brother of web servers. 2 Nginx: The mainstream of Web services for large-scale websites, onc ...

Posted by cdinca on Sat, 02 May 2020 14:52:31 -0700

The installation and use of nginx under Windows

The original application ran with a single node, and the user always complained that the service response was very slow. In order to improve the user experience, we thought of trying to alleviate the multi-node load balancing Because of the pressure of the server, we found the window version of nginx. According to the introduction of the para ...

Posted by onlinegamesnz on Sat, 02 May 2020 07:18:40 -0700

unity3d and php background simple interaction

Environmental Science: Unity2017.3.0f3 Mysql5.7.20 Wampserver64 Create a new folder named unity in the www directory of Wampserver64. 1. unity3d requests php by get 1. Code on unity side using UnityEngine; using System.Collections; public class phpUnity1 : MonoBehaviour { private string url = "http://localhost/unity/phpunity1.ph ...

Posted by subesc on Fri, 01 May 2020 17:04:34 -0700

php development example of wechat payment enterprise payment

The application scenario of enterprise payment: official account pays to concerned users, such as refund, settlement, etc. Material Science: Wechat public platform development document Explain 1. The certificate must use the certificate in its own merchant (Note: the certificate path must be an absolute path. If the relative path is use ...

Posted by I WanT To Code PHP on Fri, 01 May 2020 05:22:31 -0700

mysql and php infinite classification data classification output

First of all: the data integration part refers to the online blog; but the data output is written by itself, using recursion; Data classification and interpretation: use PID (child level) = ID (parent level); let the child loop to find out where the parent level is, and then add it; Recursion: we need to pay attention to the problem of flag( ...

Posted by rob.weaver on Thu, 30 Apr 2020 09:56:18 -0700

nginx installation, configuration, equalization, dynamic and static separation of tomcat

nginx download and installation nginx download address: nginx download address Install compiler and dependency Libraries yum install gcc gcc-c++ zlib-devel pcre-devel openssl-devel openssl-libs openssl -y nginx installation: Run to nginx root: Make & & make install After the installation is completed, you ...

Posted by rj2kix on Thu, 30 Apr 2020 08:08:45 -0700

Wechat download statement

I've come into contact with some relatively new things recently. Record them First post the official API address of wechat and feel the charm of wechat... https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6 After learning some notes about wechat download bill, we will officially start   The following is the specific implementation ...

Posted by agravayne on Wed, 29 Apr 2020 23:16:20 -0700