: This article mainly introduces PHP acceleration eAccelerator, Xcache, APC, and ZendOptimizer. For more information about PHP tutorials, see. I have only paid attention to Zend Optimizer in the past, because the high fat book taught me this way,
PHP Engine Optimization6.1.php Engine Cache optimizationFirst, there are 2 main factors that affect PHP efficiency. One: libphp5.so need to compile PHP source code to become opcode tree (opcode); second: PHP needs to read and write to the database,
using Redis with PHPinstallationPlease install the php-devel before installation
$ yum Install Php-devel $ wget https://github.com/phpredis/phpredis/archive/2.2.4.tar.gz $ tar zxf 2.2.4.tar.gz $ cd ph predis-2.2.4 $/usr/bin/phpize
If
Operating system version: Ubuntu 12.04 64bitUse the root account to log on to the system and create related directories.Download path/Home/ubuntu/downInstallation directory/Usr/local/php # install php-5.4.3/Usr/local/mysql # install
Because I am writing C's so not very understanding of this thing, first of all, it is the program under Linux, PHP version is 5.3.13, I write a simple addition to C PHP extension can be used, I think the problem is not the right link into the C
Compile php5.4 and add extensions after installation
Today because the development needs php5.4 no corresponding RPM package, so only download the source package compiled
Download php5.4 Package: wget
Large website Optimization-memcache technology, Optimization-memcache TechnologyLarge website Optimization-memcache Technology
Memory + cache memory cacheIntroduction to memcache
Memcache is a setDistributedHigh SpeedCache SystemDeveloped by Brad
Three free PHP accelerators: APC, Eaccelerator, xcache comparison
This article was reproduced from: http://killker.com/blog/?p=94
Always want to find some articles about the acceleration of PHP, accidentally see the killing of this article, feel
Author: zccst
The environment created here is: apache2.2 + mysql5.1 + php5.2
I. Installation
1. Install apache2.2
Reference: blog.csdn.net/zccst/article/details/4435381
Including self-testing.
2. Install mysql5.1
Reference:
Objective
This article is to introduce the use of Docker to make nginx+php mirror image, the mirror in this article is CentOS + nginx 1.9.7 + PHP 5.6.14, the following words do not say more directly to see the implementation of the steps.
1, first
Plus what will be the problem, do not report what is wrong, so when compiling PHP, in addition to the necessary directory specified, many parameters are not added ... When I installed the Web program, I found that a lot of parameters are to be added,
Server environment: centos–5.4
PHP Upgrade: 5.4.14-5.5.0
Upgrade experience: Relatively smooth, but there is a point to note: Eaccelerator can not be compatible with php5.5.0, fortunately, PHP in 5.5.0 provided by default Zend Opcache, So have been
First, download the installation package
Redis Download
Click to download Redis http://download.redis.io/releases/redis-4.0.0.tar.gzRedis website Download Click to go to the official website https://redis.io/# #linux下载
[root@localhost ~]# wget http:
After the successful installation, write a MongoDB php test script to test if you can connect to MongoDB correctly and query the results.Reference: http://php.net/manual/en/class.mongodb-driver-query.phpReference:
MSSQL remote connection needs to do a lot of configuration on the SQL Server side, here first skip, here only the Linux server configuration.CENTOS7 first needs to install FreeTDS, a class library that provides the ability to access SQL Server from
In php.ini if we do not modify the post_max_size,upload_max_filesize these parameters, the default is to upload up to 2MB of files, if dozens of MB or more can not be uploaded, I would like to introduce a few ways to modify the PHP configuration
Yesterday to toss a day, or did not fix, quickly collapsed ... Ask the great God to bring me ...
Reply to discussion (solution)
Find a solution. Obviously very simple problem, Baidu a lot of people used to solve, I do not do
The
This script has been used on the production server for more than a year, this script advocates simple aesthetics, only need a script to be able to automatically configure LNMP on any server with network.This script will be used in the script
Objective:In this article, I'm going to show you how to install Php-redis extensions on CentOS7 and some simple utilities on how to install Redis on CentOS, for referenceRedis installation Deployment on CentOS 7 http://www.linuxidc.com/Linux/2017-05/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.