Noob looking for PHP help

AMP Admin admin at ampprod.com
Sat Apr 18 19:26:30 MSD 2009


I keep reading that php-fpm is the best for large busy sites.  Have you heard the same?

If so I think I have to install php and php-fpm manually but I'm not sure if that's the best option because how would we keep it up to date?  Who has time to babysit new versions and then recompile? 

Any suggestions? 


-----Original Message-----
From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of Nuno Magalhães
Sent: Saturday, April 18, 2009 10:00 AM
To: nginx at sysoev.ru
Subject: Re: Noob looking for PHP help

Hi,

> yum install php-cgi php-cli php-mysql php-gd php-imap php-ldap php-odbc
> php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss
> php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp
> php-soap php-tidy

php-cgi oughta be enough (at least on Debian), the trick si to enable
it to start on boot, but if you use update-rc.d on you script it'll
do. Now make sure you fiddle with /etc/nginx/nginx.conf, there's a
part that's comented out about fast-cgi: configure that - pay
attention to the port the cgi server will be lsitening on, then HUP
nginx and give it a try.

HTH,
Nuno Magalhães

-- 
()  ascii ribbon campaign - against html e-mail
/\  ascii-rubanda kampajno - kontraŭ html-a retpoŝto






More information about the nginx mailing list