(1)Monitoring 80 Ports Write a script to determine whether the 80 port of the machine is open, if you do not do anything, if you find that the port does not exist, then restart the httpd service, the concurrent mail notify yourself. Once the script
Script Description:1, check the server's port service is normal.2, the service port if there is no normal monitoring, will automatically restart the port service, log logs, and notify the Administrator of concurrent mail.3, let crontab automatically
This article introduces the introduction of the PHP APC module, parameter configuration, installation steps, use examples, because some of the content is translated from the PHP manual, there may be a lack of comprehensive place. I hope you will
After handling the LNMP environment, the access denied error is rendered
Set up a good LNMP environment, rendering access denied error, now removed the file permissions of the problem is also swept away is nginx problem, but can not parse the
Objective
We all know that PHP-FPM has a built-in status page, opened to view the detailed operation of the PHP-FPM, to PHP-FPM optimization to bring help.
Open php-fpm.conf, configure PHP-FPM Status page options
Pm.status_path
Description
Operating System: CentOS 5.10 64-bit
Prepare the article:
First, configure the IP, DNS, gateway, ensure that the remote connection tool can connect the server, the server time is set correctly
Second, configure the firewall, open 80
First, pre-installation preparationDownload the latest version of php-5.4.13.tar.gz and put it in the/USER/SRC directorySecond, installationBecause in the installation of PHP process, will rely on the installation of many libraries, in order not to
More and more friends have used the LNMP system of Military elder brother, the biggest advantage is that the province of memory, like those small memory vps, the tribe has always recommended the use of LNMP, but relative to the novice, we need to
The first is the installation of LNMP, this is very simple, directly according to the official program is good, Link: http://lnmp.org/install.html
Originally want to use Lnmpa, but considering I this small blog estimate also have no traffic or not
Let's first assume that the business scenario, which needs to have such an extension, provides a function called ccvita_string, whose primary function is to return a character. (This business scenario is too fake, let's just look at it) the
Background Virtual HostToday's server configuration is significantly improved, the deployment of a single Web site on a single host will cause a lot of performance loss to the host, so the Web Services virtual host technology came into being. The so-
First, the pool of PHP-FPMvim /usr/local/php-fpm/etc/php-fpm.conf //在[global]部分增加 include = etc/php-fpm.d/*.conf //类似nginx的vhost mkdir /usr/local/php-fpm/etc/php-fpm.d/ cd /usr/local/php-fpm/etc/php-fpm.d/ vim
YAF, full name yet another framework, is a C language written PHP framework, is a PHP extension in the form of a PHP development framework, compared to the general PHP framework, it is faster. It provides bootstrap, routing, distribution, views,
Xhprof is an open source PHP performance monitoring tool for Facebook that takes up little resources and can even be deployed in a production environment. It can be used in conjunction with Graphviz, can be visualized in the form of pictures to show
The pool of PHP-FPM
Its pool is its pool.
[[email protected] etc]# cd /usr/local/php-fpm/etc/[[email protected] etc]# lspear.conf php-fpm.conf php-fpm.conf.default php.ini[[email protected] etc]# cat php-fpm.conf[global]pid =
This article describes the Linux environment in the implementation of PHP to the Web site screenshot method. Share to everyone for your reference, specific as follows:
The first step: Download wkhtmltopdf
Copy Code code as follows:
Suppose the PHP directory is/usr/local/phpMySQL directory for/usr/local/mysql1. Enter the PHP source code package EXT/PDO Directory
CD Ext/pdo
2. Execute/usr/local/php/bin/phpize[assume that the installation directory for PHP is/usr/local/php]
1: View the Environment:
[Root@localhost ~]# Cat/etc/redhat-release
2: Turn off the firewall
#重启后生效开启
[root@localhost ~]# chkconfig iptables off
or
#即时生效, fail-Open after reboot
[root@localhost ~]# Service Iptables stop
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.