lamp service php deployment

1. Install function library 2. Compile and install PHP 2.1 decompress the installation package 2.2 compilation and installation 3. Details of compilation parameters 4. Copy the php configuration file to the default directory and change its name 5. Configure Apache to support PHP 6. Web access 7. Test the connection to my ...

Posted on Wed, 08 Jan 2020 13:09:01 -0500 by trekerboy

Recompile PHP manual

At present, from the PHP official website https://www.php.net/download-docs.php There are two major problems with the downloaded chm manual in Chinese: The index is incomplete. The page with Chinese title has no index Search bar doesn't work. No matter what you search, you can't find it In view of this, I refer to the document of making c ...

Posted on Wed, 08 Jan 2020 08:55:14 -0500 by nomad9

memcached Memory Database - Deployment and Operation

Summary _Memcached is a high-performance distributed memory object caching system for dynamic Web applications to reduce database load.It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number of times the database is read.Memcached is based on a hashmap that stores key/value pairs. ...

Posted on Tue, 07 Jan 2020 13:25:06 -0500 by Qense

Lamp (configure anti-theft chain, access control Directory, access control FilesMatch)

Configure anti-theft chain Realize the function of anti-theft chain by limiting the referer Edit virtual machine file Add the following configuration code in / usr/local/apache2.4/conf/extra/httpd-vhosts.conf: <Directory /data/wwwroot/www.123.com> SetEnvIfNoCase Referer "http://111.com "local_ref / / whitelist Set ...

Posted on Tue, 07 Jan 2020 11:20:38 -0500 by Nathaniel

docker image basic command

1. Main contents of docker (1) . docker is a cs architecture (2) . docker: image container warehouse network storage monitoring (3) . docker is a software packaging technology 2.docker image basic command 1.docker search Nginx (search image) [root@docker03 ~]# docker search nginx NAME DESCRIPTION ...

Posted on Tue, 07 Jan 2020 11:06:59 -0500 by bliss322

Working mechanism of Facade in Laravel

We know that Facade pattern is a mediation class, which encapsulates and proxies subsystems or class objects, and provides a unified high-level interface for a group of interfaces of subsystems. It exposes the function of the subsystem, but does not expose the object of the subsystem. When the user wants to use a function (method) of the subsys ...

Posted on Tue, 07 Jan 2020 03:15:46 -0500 by richarro1234

Load balancing and application of HAproxy

haproxy installation and configuration tar zxf haproxy-1.6.11.tar.gz decompress the source package Making rpm bags yum install rpm-build -y ###Install RPM build software rpmbuild -tb haproxy-1.6.11.tar.gz ###Source compilation, making rpm package yum install -y gcc pcre-devel ##Resolve dependency package installa ...

Posted on Tue, 07 Jan 2020 01:27:38 -0500 by keeve

Drop down check box

Recently, in the project development, some places use the drop-down check box, so I found it on the Internet. There are many ways to write it, but I don't think it's very good, and I don't want to use the plug-in, because I think the introduced js is too large and the function is too complex, so I decided to write a small demo myself, the effec ...

Posted on Tue, 07 Jan 2020 00:27:51 -0500 by Major Tom

Aliyun ECS Deployment WordPress Blog

Today, a Lamp system has been deployed on Aliyun ECS, and a WordPress website has been built to record the operation. The scripts listed in this article can be applied directly. I wanted to install one directly in the mirror market, but I couldn't change two or three mirrors, or deploy it manually. Install Nginx Log in to the Elastic Cloud Serv ...

Posted on Mon, 06 Jan 2020 22:10:56 -0500 by allworknoplay

php and memcached cache module extension and openresty+memcached cache implementation

PHP module extension [root@server1 ~]# tar zxf memcache-2.2.5.tgz [root@server1 ~]# vim .bash_profile [root@server1 ~]# source .bash_profile [root@server1 ~]# cd memcache-2.2.5 [root@server1 memcache-2.2.5]# phpize #To extend the php extension module, you can build the php plug-in module through phpize [root@server1 ...

Posted on Mon, 06 Jan 2020 20:29:48 -0500 by zzz