How to install PHP 7 on Ubuntu Linux 14.04 LTS

P HP 7 provides 2x faster performance and 50% better memory consumption than PHP version 5.6. How do I install PHP 7 on Ubuntu Linux version 14.04 LTS server? How do I install PHP 7…

How to configure Nginx with free Let’s Encrypt SSL certificate on Debian or Ubuntu Linux

H ow do I secure my Nginx web server with Let’s Encrypt free ssl certificate on my Ubuntu Linux 14.04 LTS or Debian Linux 8.x server?   Let’s Encrypt is a free, automated, and open…

How to fix Httpoxy a CGI PHP/Nginx/Apache/Go application vulnerability on Linux or Unix

A serious vulnerability was discovered in how CGI scripts are used by Linux or Unix that use PHP, Go, Python, and other scripting languages. How do I fix Httpoxy a CGI application vulnerability on Linux…

PHP-fpm Too Many Open Files 24 Error (set open file descriptor limit)

I am getting the following error in my /var/log/php7.0-fpm.log file: “ERROR: failed to prepare the stderr pipe: Too many open files (24)” How do I fix this problem?   You need to set open file…

How to install PHP 7 on Debian Linux 8.7/7.x [jessie/wheezy]

I wanted to use PHP 7 on Debian 8.x. How do I install and configure PHP 7 on Debian Linux 8.x server? How do I install PHP 7 on Debian Linux 7.x “wheezy” VPS server…

How to log real user’s IP address with Nginx in log files

M y nginx server is behind a reverse proxy load balancer. How can I show the correct client IP address in nginx log files when nginx is behind a load balancer?   If you are…

How to configure Nginx for WordPress permalinks

I switched from Apache to Nginx web server. How do I configure permalinks under WordPress blog?   WordPress has the ability capacity to create a custom URL structure for your blog posts and archives. There…

PHP Fatal error: Call to undefined function gzinflate()

I have a php script and whenever I run it, I get the following error message in my log file: 2017/02/05 23:25:46 [error] 9696#9696: *10 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call…

PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)

I setup a LEMP (Linux, Nginx,MySQL, PHP ) stack. But, getting the following error in /var/log/nginx/error.log file: PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1) How do I solve this problem on Linux…

How to enable the gzip/deflate in nginx server on Linux or Unix system

I am a new Linux system admin and how can I enable gzip compression on nginx web server for JS/CSS/HTML files?   You need to use the ngx_http_gzip_module module. It compresses all valid HTTP responses…