Zabbix Operations and Maintenance Monitoring Platform Build Records Quickly

1. Zabbix Operating Architecture Zabbix is an enterprise-level distributed open source monitoring solution.It can monitor the health of various servers, the stability of the network, and the reliability of various application systems.When monitoring abnormalities occur, Zabbix can configure alert mechanisms based on e-mail, SMS, WeChat and so ...

Posted on Sat, 25 Jan 2020 01:23:27 -0500 by dc_jt

How to add elements to an empty array in PHP?

If I defined an array in PHP, for example (I didn't define its size): $cart = array(); Can I simply add elements using the following? $cart[] = 13; $cart[] = "foo"; $cart[] = obj; There is no add method for arrays in PHP, such as cart.add(13)? #1 building When people want to add elements using a zero based element index, I thin ...

Posted on Fri, 24 Jan 2020 09:03:40 -0500 by trube

Maximum call stack size exceeds error

I am using Direct Web Remoting ( DWR)JavaScript Library files, and errors only occur in Safari (desktop and iPad) It says Maximum call stack size exceeded. What is the exact meaning of this error and will it stop processing altogether? It also solves all Safari browser issues (in fa ...

Posted on Thu, 23 Jan 2020 23:32:43 -0500 by Bobby_Jo

CDN page push

1, Understanding of CDN: CDN is a content distribution network built on the network. Depending on the edge servers deployed in various places, through the load balancing, content distribution, scheduling and other functional modules of the central platform, users can get the required content nearby, reduce network congestion, ...

Posted on Thu, 23 Jan 2020 10:10:56 -0500 by StirCrazy

Redis predis extension introduction

Predis Predis is applicable to the use of PHP 5.3 and above in Redis, including the use of clusters. major function Supports various versions of redis (from 2.0 to 3.0 and unstable) Using hash mode or user-defined mode to segment the clients of nodes in the cluster Support Redis cluster (Redis>= 3.0). Supports read / write ...

Posted on Wed, 22 Jan 2020 03:44:34 -0500 by insub2

Build PHP development environment in Mac OS Catalina 10.15, including the redis extension of PHP

On October 8, 2019, apple officially released a new generation macOS , version Catalina (11.15). Mac OS Catalina pre installed Ruby (2.6.3), PHP (7.3.9), Perl (5.18.4), Python (2.7.16) and other common scripting languages, as well as Apache (2.4.41) Web server. It should be noted that in the new version, zsh has replaced bash as the default s ...

Posted on Wed, 22 Jan 2020 02:59:39 -0500 by thebluebus

Converting date formats in PHP

I'm trying to change the date from yyyy MM DD to DD mm yyyy (but not in SQL); but I don't know how the date function needs a timestamp, and I can't get a timestamp from that string. How is this possible? #1 building If you want to avoid the strtotime transformation (for example, strtotime cannot parse your input), you can use the, $ ...

Posted on Wed, 22 Jan 2020 02:56:48 -0500 by master123467

PHP abstract class and interface practice

① : CLASS return value is the name of the current CLASS. If there is a namespace, it is also returned <?php namespace _0120; class demo { public function getFormName() { return __CLASS__; } } $obj = new demo(); echo $obj->getFormName(); ?> Print as follows: ② : DIR view the directory of ...

Posted on Wed, 22 Jan 2020 01:50:52 -0500 by crowezr

Build automation API documents based on swagger PHP and swagger UI

Download swagger UI Download wget https://gitee.com/qzeroq/swagger-ui/repository/archive/v3.25.0?format=zip Download swagger PHP download, change version requires PHP > = 7.0 wget https://gitee.com/qzeroq/swagger-php/repository/archive/3.0.1?format=zip Installation dependency [root@localhost local]# cd src/ [root@localhost src]# cd ...

Posted on Mon, 20 Jan 2020 13:11:35 -0500 by timgetback

Several ways of page definition of nginx virtual host 404

There are two websites, lnmp environment and nginx reverse agent for web engineering ***Hide the domain name Website 1. Directory of virtual host path [root@kangcw nginx]# pwd /www/server/panel/vhost/nginx [root@kangcw nginx]# ls www.xxx.com.conf www.xxx2.com.conf Virtual host lnmp environment Nginx When visiting a static html page, w ...

Posted on Mon, 20 Jan 2020 09:10:16 -0500 by waygood