Writing PHP container from scratch - solving class duplicate dependency creation

(3) Writing PHP container from scratch - solving class duplicate dependency creation Function realization Solve class duplicate dependency creation, solve interdependence (a - > b - > A - > b - > etc.), circular dependency (a - > b - > C - > A - > b - > C - > A - > A - > b - > C - > A - > A - > e ...

Added by wopopd83 on Wed, 19 Feb 2020 18:13:10 +0200

PHP+mysql database simple paging instance sql paging

A few days ago, Leng Yue wrote a blog post "php basic programming - php connection to mysql database - simple use of mysqli". After learning, many small partners know the connection between php and mysql database. Today, Leng Yue shares a simple paging example First, let's look at the effect: This case is very simple, so how can we ...

Added by NeoPuma on Tue, 18 Feb 2020 05:31:48 +0200

How does php use JSON-RPC to find the latest block hash hash value in Ethereum?

I developed an Ethereum block resource manager in PHP and successfully established JSON-RPC communication with my server Geth node. However, when I tried to find the last block, I was in trouble. I am here https://ethereum.gitbooks.io/frontier-guide/content/rpc.html I've read a lot in, but I don't have any way to find out which of the Ethereum ...

Added by linux_pickle on Sun, 09 Feb 2020 18:34:21 +0200

Zabbix Monitoring PHP-FPM, Tomcat, Redis Application Practice Cases

1. Zabbix Monitoring PHP-FPM Application Nginx+PHP-FPM is the most popular LMP architecture at present. Under the system based on PHP development, monitoring the performance of these systems mainly focuses on the running status of PHP-FPM. So what is PHP-FPM?PHP-FPM is a PHP FastCGI manager, which provides a better way to manage PHP processes. ...

Added by trecool999 on Sat, 01 Feb 2020 19:34:32 +0200

Zabbix deployment, monitoring and email alarm mechanism (actual combat!)

Zabbix deployment Experimental environment: CentOS 7-2: 192.168.18.147 (monitoring end: deployment and installation zabbix) CentOS 7-3: 192.168.18.128 (monitored end) Monitoring end operation: [root@cacti ~]# systemctl stop firewalld.service #Turn off firewall function [root@cacti ~]# systemctl disable firewalld.service #Turn on and ...

Added by weaselandalf on Sat, 01 Feb 2020 17:08:14 +0200

Build the basic https and wss environment of wechat applet

https://blog.csdn.net/w2456/article/details/53943080/ 1. Preparations Domain name one Free certificate (recommended: Tencent cloud, Alibaba cloud and cheap ssl are free configurations, and then download the certificate first) One Centos server nginx 1.10.2 1 2 3 4 5 2. Install nginx Installation tutorial ht ...

Added by jofield on Fri, 31 Jan 2020 14:45:08 +0200

yield and Generator of php and its application

yield and Generator of php and its application Reference resources When viewing the laravel source code, you can see the following code vendor\laravel\framework\src\Illuminate\Container\Container.php public function tagged($tag) { if (! isset($this->tags[$tag])) { return []; ...

Added by nomanoma on Sun, 19 Jan 2020 10:04:29 +0200

LAMP architecture (PHP5 installation, PHP7 installation)

PHP5 Installation download wget http://cn2.php.net/distributions/php-5.6.32.tar.bz2 decompression Tip: Can't exec: No file or directory The reason is that the bzip2 package is missing yum install -y bzip2 decompression tar -jxvf php-5.6.32.tar.bz2 To configure 1. Need to be installed first xml2 yum install -y libxml2-devel 2 Install ...

Added by gigantorTRON on Sat, 18 Jan 2020 19:54:04 +0200

LNMP dynamic website

LNMP Basics What is LNMP One of the mainstream enterprise website platforms 50: Linux operating system N:Nginx website service software M:MySQL.MariaDB database P: Website development language (PHP.Perl.Python) Difference between static website and dynamic website Static web page: (1) Static w ...

Added by filteredhigh on Sat, 11 Jan 2020 11:42:19 +0200

Excerpt of wechat payment refund exception

Wechat payment refund API address: https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_4&index=6 Precautions: Total fee: must be the payment amount of the order, unit: minute; Refund fee: less than the order payment amount, unit: minute; Multiple refunds can be initiated for the same order, and the out \; Use a merchant re ...

Added by Daguse on Mon, 06 Jan 2020 21:58:48 +0200