I'm very much a NGINX and Server Admin beginner.
I used this tutorial to install NGINX / PHP / mySQL / WordPress:
C3M Digital Tutorial
In this tutorial the backend php-cgi setup is configured using fastcgi.
phpinfo says the file location is /etc/php5/fpm/php.ini.
Additional .ini files parsed /etc/php5/fpm/conf.d/curl.ini, /etc/php5/fpm/conf.d/gd.ini, /etc/php5/fpm/conf.d/mcrypt.ini, /etc/php5/fpm/conf.d/mysql.ini, /etc/php5/fpm/conf.d/mysqli.ini, /etc/php5/fpm/conf.d/pdo.ini, /etc/php5/fpm/conf.d/pdo_mysql.ini, /etc/php5/fpm/conf.d/xcache.ini
Looking in them none of them have anything that deal
I have Ubuntu 11.10 and installed php5-fpm and I want to configure nginx. I want to use unix sockets instead of tcp sockets but I couldn't find the
/var/run/php5-fpm.sock
I have looked also
/tmp/php5-fpm.sock
Where is php5-fpm.sock file? I also tried
locate php5-fpm.sock
but I couldn't find anything.
Note: php5-fpm is working .
I have a strange problem with Ansible that I use to install / update / manage my webservers.
I have an installation script that is supposed to make sure that I always have the latest PHP5 module in my Debian 6 / Apache 2 system:
- name: install apache2 and php5
action: apt pkg=$item state=latest
with_items:
- apache2
- php5
- libapache2-mod-php5
- php5-curl
I've set up a server with Nginx and PHP5-FPM, and things are running fine. However, as I add more and more sites to the server I see that the memory usage steadily increases, and I've come to the conclusion that PHP5-FPM is to "blame".
What I currently do is that I set up a separate PHP5-FPM pool for each site, and configure that pool according to expected traffic.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
php5-common
man-db
php5-cgi
php5-cli
libapache2-mod-php5
php5-gd
php5-mysql
dbconfig-common
php5-mcrypt
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an e
Installing Nginx With PHP5 And MySQL Support On Ubuntu 9.04
Nginx (pronounced
"engine x") is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low resource consumption. This tutorial shows how you can install Nginx
on an Ubuntu 9.04 server with PHP5 support (through FastCGI) and MySQL
support.
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04
Nginx (pronounced
"engine x") is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low resource consumption. This tutorial shows how you can install Nginx
on an Ubuntu 11.04 server with PHP5 support (through PHP-FPM) and MySQL support.
Installing Nginx With PHP5 And MySQL Support On CentOS 5.6
Nginx (pronounced
"engine x") is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low resource consumption. This tutorial shows how you can install Nginx
on a CentOS 5.6 server with PHP5 support (through FastCGI) and MySQL
support.