Install Nginx, PHP, PHP-FPM and MySQL on Cygwin

August 21, 2011 by admin · Leave a Comment 

Here is a excellent tutorial show you how to Install Nginx, PHP, PHP-FPM and MySQL on Cygwin:

Are you using Nginx, PHP, PHP-FPM and MySQL on your Linux servers? Are you totally in love with this setup? I do! But, as a Web developer, I also need a local Web server on my Windows machine for testing. So far, I’ve always been using the standard “WAMP” setup: Windows, Apache, MySQL, PHP. Why couldn’t I run Nginx and PHP-FPM on my Windows machine as well? Today, I will teach you how to achieve it so you can really say goodbye to Apache!

This post covers the installation and configuration of the following products:

- MySQL Win32 (server and client)
- Cygwin
- Nginx under Cygwin
- MySQL (client only) under Cygwin
- PHP and PHP-FPM under Cygwin

Nginx, PHP-FPM and APC in Ubuntu

June 23, 2011 by admin · Leave a Comment 

Here is a good tutorial show you about Nginx, PHP-FPM and APC in Ubuntu:

Launch a ami-68136d3a ami on ec2 – I used a micro instance

Need to login at the ubuntu user

ssh -i /Users/gary/SG2.pem [email protected]

install php

sudo apt-get install php5-cli apache2 php5-mysql libapache2-mod-php5 mysql-server libipc-sharedcache-perl tinyca mailx

sudo /etc/init.d/apache2 restart

Install Nginx, PHP, PHP-FPM and MySQL on Windows with Cygwin

June 23, 2011 by admin · Leave a Comment 

Here is a good tutorial show you how to Install Nginx, PHP, PHP-FPM and MySQL on Windows with Cygwin:

Table of contents

1 – Getting the needed files
2 – Installing MySQL Win32 (server and client)
3 – Installing Cygwin
4 – Installing Nginx under Cygwin
5 – Installing MySQL (client only) under Cygwin
6 – Installing PHP and PHP-FPM under Cygwin
7 – Creating Windows services
8 – Using your new installation
Conclusion
Resources
Annex 1 – Simple benchmark

PHP-FPM and Nginx

June 23, 2011 by admin · Leave a Comment 

PHP-FPM and Nginx:

PHP-FPM is a new fastcgi daemon manager for PHP, Its fast and reliable!  Infact this wiki is hosted by Nginx with PHP-FPM and PECL APC Caching.

This guide is based on using Nginx with PHP 5.3.3 on Fedora 12/13 Linux.

While currently there is no mainstream release for PHP-FPM we’ve made the RPM’s we’ve built available for download here: http://noc.beyondhosting.net/mirror/custom-rpms/ (These are x86_64 so if your using i686 sorry!)