Quantcast
Channel: PHP – Linux T&T
Browsing all 11 articles
Browse latest View live

Seperate php pool restart

root@wild# ps a | grep fpm 26028 pts/3 S+ 0:00 php-fpm: master process (/usr/local/php-trunk/etc/php-fpm.conf) 26030 pts/3 S+ 0:00 php-fpm: pool www_direct 26031 pts/3 S+ 0:00 php-fpm: pool www_direct...

View Article



PHP 5.3.27 on CentOS 6.4

# rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 # rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm --import...

View Article

separate php pool for same vhost

location /testurl { #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini include /etc/nginx/fastcgi_params; fastcgi_intercept_errors on; fastcgi_pass 127.0.0.1:9001; fastcgi_index index.php;...

View Article

Fixing timeout between Nginx and PHP-FPM

error: 2013/01/19 11:36:59 [error] 14564#0: *1215 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 123.456.789.123, server: example.com, request:...

View Article

php-fpm processes monitoring / profiling

php-fpm: request_slowlog_timeout = 10 slowlog = /var/log/php-fpm/slow.$pool.log source

View Article


A better way to run PHP-FPM

https://ma.ttias.be/a-better-way-to-run-php-fpm/

View Article

phpMyBackupPro upgrade

update definitions.php

View Article

php info

<?php phpinfo(); ?>

View Article


php7 mysql

source use mysqli or include the following function: https://gist.githubusercontent.com/rubo77/1db052edd8d723b59c79790b42635f1e/raw/ab3b432b5c2a72f337403353b5ecc194e1e711f2/fix_mysql.inc.php...

View Article


Adjusting child processes for PHP-FPM (Nginx)

Problem: The following warning message appears in the logs:[26-Jul-2012 09:49:59] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32...

View Article

disable wordpress php notices

ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false); https://aristath.github.io/blog/wp-hide-php-errors

View Article
Browsing all 11 articles
Browse latest View live




Latest Images