Install nginx + php + eaccelerator + mysql + ftp + file and memory caching on Ubuntu

August 26, 2011 by admin · Leave a Comment 

Here is a excellent tutorial show you how to Install nginx + php + eaccelerator + mysql + ftp + file and memory caching on Ubuntu:

I am designing at the moment a new website. I don’t want to reveal much, but i except this to have much traffic, and there will be a lot of php running in the background, and the site will use a very large database, and a remote API.

So it is very important that i have a light system and use disk cache and even RAM cache for this system.

In one of my servers, i use WHM and Cpanel. WHM by default uses apache. Some of the sites on that server grew very much very quickly. The default apache setup was getting very slow and it was using to much RAM.

Fortunatelly I knew that nginx can be installed as a reverse proxy. I found some guy that could do that to my server. That is how i got introduced to the worlderful nginx. Using nginx and utilizing it’s cache system, you can get a x10 boost in performance. Less RAM less cpu, faster load times. Nginx is wonderful.

PHP 5.3.8 Released

August 24, 2011 by admin · Leave a Comment 

PHP 5.3.8 has been released.

Changes:

  • Fixed bug #55439 (crypt() returns only the salt for MD5)
  • Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283).
  • Download:

    PHP 5.3.8 Final for Windows (15.00 MB)
    PHP 5.3.8 Final for Linux (10.44 MB)

    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 with php on Windows 7

    June 23, 2011 by admin · Leave a Comment 

    Here is a good tutorial show you about Nginx with php on Windows 7:

    Setup is quite straight forward; you’ll need the php-cgi.exe downloaded (copy the libmysql*.dll to the Windows system directory – quickest but dirtiest solution) and tied in; I assume that you can download and run the mysql application yourself?

    You may need to run the startup as a batch file (f: below is the drive installed on, php has been extracted into the php under nginx as you can see). PHP is set to listen on port 9000, which nginx interfaces requests to below.

    Nginx PHP Memcached MySQL for Windows

    June 23, 2011 by admin · Leave a Comment 

    Here is a good tutorial show you about Nginx PHP Memcached MySQL for Windows:

    I wanted a complete, fast, easy-to-use web server that you could put anywhere and run from anything. My flash drive, HD, CD, etc.. and from this desire the WNMP web sever project was born.

    Install WEMP (Windows, NGINX, MySQL and PHP)

    June 23, 2011 by admin · Leave a Comment 

    Here is a good tutorial show you how to Install WEMP (Windows, NGINX, MySQL and PHP):

    WAMP system by far is the most popular server for desktop computers. It takes advantage of Windows, Apache, MySQL and PHP which are also used in production environment, but more commonly run in Linux and UNIX setup.

    While Apache is able to adopt to almost every situation, it is not ideal for servers with lower memory. Desktop computers needs extra memory because the owners still run various applications on top of those workstations.

    With this problem, WEMP now came up as an alternative solution wich results in a faster and more responsive windows server.

    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