Warning: Undefined variable $html in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 240

Warning: Undefined array key "page" in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 265

Warning: Undefined array key "page" in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 268

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/lib/plugins/tabinclude/helper.php:240) in /usr/share/nginx/html/inc/Action/Export.php on line 106

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/lib/plugins/tabinclude/helper.php:240) in /usr/share/nginx/html/inc/Action/Export.php on line 106
install_nginx

Nginx Install

  • CentOS
  • ubuntu - Page not found.

Installing nginx + php-fpm

If you wish to use any sort of php functionality with nginx it is advised to use php-fpm. The following commands are how you install both nginx and php-fpm.

yum install -y nginx php-fpm

Turn nginx and php-fpm to start on boot:

chkconfig nginx on
chkconfig php-fpm on