Tags » Php-fpm

centos oracle uek red hat 5 6 7 nginx php 5.6 install howto

http://wiki.nginx.org/PHPFcgiExample

install EPEL and IUSC repos

# yum install nginx
# yum install php56u-fpm

edit /etc/nginx/conf.d/default.conf and replace the default fastcgi_param value as below

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        root           html;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        # fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
… 11 more words
Fsse

GDB backtrace for php-fpm

On php-fpm segfaults like:

kernel:  php5-fpm: segfault at 4204fb74 ip 0872d212 sp bfcea8e2 error 4 in php5-fpm

you can configure GDB dumps for further issue debugging: 93 more words

nginx: More FastCGI Stuff

nginx’s a pretty powerful server, no doubt. But depending on your situation, a simple caching solution as discussed in my FastCGI Caching Basics article might not be enough, or may outright break your setup. 970 more words

nginx: FastCGI Caching Basics

I’m back!

Today, I am going to share some things regarding how to do caching in nginx, with a bit of a write up and history first. 1,757 more words

PHP-FPM: Health Monitoring Status Page

Recently on our hosted site, some of our end users were receiving 502-Bad Gateway Errors sporadically. In researching the problem, we recognized that one of several web servers (being load-balanced across multiple servers) was constantly throwing 502-Bad Gateway errors back to the client. 260 more words

Web Development

PHP-FPM: Logging your errors

Ever need to log errors from PHP-FPM (or obtain more details)? I recently discovered the setting catch_workers_output within the etc/php-fpm.d/www.conf configuration file for php-fpm. By enabling this setting your php related errors will now be logged to your php-fpm error log file.

Web Development

Setting up Debian, nginx, php-fpm

remember that guide and that:

Again, this is a guide that is for me, from my context. Therefore, many things might be assumed as known. 231 more words

Linux