I'm trying to set up nginx with PHP5 and MySQL on my production VPS. The reason I chose nginx over Apache was because the VPS isn't high spec.
nginx is installed, and is successfully serving static pages like it should.
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 been having problem installing php-fpm for use with apache2-mpm-worker.
Alright so I will outline how everything is setup and running for me on my dedicated box. I have everything working accept eAccelerator only works on one of my PHP applications.
Apache2
I have Apache2 setup and running with virtualhosts.
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'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.
Did anybody successfully configured mod_cache in apache 2.4 with php-fpm and fastcgi?
my cgi config:
<IfModule mod_fastcgi.c>
Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi
AddHandler php-script .php
FastCGIExternalServer /var/www/fastcgi/php5.fastcgi -socket /mnt/tmp/fast/php-fpm.sock -idle-timeout 1600 -pass-header Authorization
Action php-script /php5.
I am running the Linux server ( debian etch ) on a virtual machine since more than a year. About a week ago the mail server ( exim4 ) stopped working. I've started aptitude and made something i cannot remember exactly ( said o.k.
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.