Comments on How To Install Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.5

How To Install Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.5 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 6.5 server with PHP5 support (through PHP-FPM) and MySQL support.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Morgan Tocker

I wonder if you might consider including instructions for installing MySQL via the official yum repos:

http://dev.mysql.com/downloads/repo/yum/ 

These will have MySQL 5.6, which has much better defaults / requires less configuration.  I have a blog post on this here:

 http://www.tocker.ca/2013/09/10/improving-mysqls-default-configuration.html

 - Morgan

By:

why not suggest using the official nginx.org yum packages instead of EPEL repo ones http://nginx.org/en/linux_packages.html#mainline ?

By: Niloct

Thanks for the idea of placing socket into /tmp folder, that worked fine without having to set permissions or users (running php-fpm as non-privileged user).