This example describes the method for configuring the error log in PHP. Share to everyone for your reference, specific as follows:
Ini:
; Error log
log_errors = on
; display error
display_errors = off
; log path
error_log = "/usr/local/lnmp/
The following articles mainly describe the actual recovery process of some data corruption in the MySQL database. A few days ago, due to data corruption in the MySQL database, I tried the actual data restoration operation, sort out the following
first, we want to distinguish between the "/usr/local/php/etc/php-fpm.conf" file and the "/usr/local/php/etc/php.ini" file. /usr/local/php/etc/php-fpm.conf is php-fpm the file used by this service, and manages the related configuration of PHP-FPM
Two configuration file differences:Manage profiles used by the PHP-FPM service:/usr/local/php/etc/php-fpm.confPHP Global configuration:/usr/local/php/etc/php.iniTo empty the/usr/local/php/etc/php-fpm.conf configuration file:[Email protected] vhosts]#
1. PrefaceThe previous article described how to compile and install MySQL, although it can be installed through Yum install or RPM, but the Yum install and RPM installation has one feature, that is, some parameters are customized according to the
Today, after the upgrade of PHP 502 Bad Gateway error, according to experience is PHP-FPM problem, but see what traffic on the Internet, child process settings, but I do not have any traffic on the server. So you can only look at the configuration
Nginx and Apache are not the same, in Apache can directly specify the error log php, so that in the PHP implementation of the error message directly into the PHP error log, you can easily query.
In Nginx, things have become like this: Nginx only
This article mainly introduces the solution that crontab cannot execute php, and details the precautions for running PHP using crontab on the Linux platform, for more information about how to execute php in crontab, see this article. We will share
Introduction to the PHP concurrent multi-process processing tool Gearman and the tool gearman
At work, we sometimes encounter the need to simultaneously publish data to multiple servers, or simultaneously process multiple tasks. The PHP curl_multi
The following articles mainly describe how to implement the basic usage of MySQL Databases in linux. The following describes the specific operations in the article, if you are interested in the actual operations, I hope the following articles will
Linux php5.4 startup script and linuxphp5.4 script. Linux php5.4 startup script, linuxphp5.4 script nonsense not much said, directly on step 1, modify the php-fpm.conf configuration file to modify the usrlocalphpetcphp-fpm.conf (of course, this
Nonsense not much to say directly on the steps
1. Modify the php-fpm.conf configuration file
Modify/usr/local/php/etc/php-fpm.conf (Of course, this is related to your configured PHP path) configuration file
Start Pid=run/php-fpm.pid
; Pid file;
Nginx start stop php5.3.18 php-fpm start close configure to service start from php5.3.3 source code contains php-fpm, no need to fix it, just unlock the source code and directly configure, for php-fpm compilation parameters,-enable-fpm-with-fpm-user
PHP concurrent Multi-process processing tool Gearman use introduction, sharp weapon Gearman
We sometimes encounter tasks such as the need to publish data to multiple servers at the same time, or to work on more than one task at a time. Requests can
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.