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…

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 increase and set upload size to 100MB in PHP-Apache

I am using Apache with mod_php on Debian/Ubuntu Linux server. How do I increase file upload size limit in PHP-Apache app from default 2MB to 100MB?   You need to edit the file called /etc/php/7.0/apache2/php.ini.…

How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Debian 9 Stretch

I am a new user of Debian 9 operating system. Can you tell me how to setup and install LAMP stack on a Debian 9 (Stretch)?   LAMP is an acronym for four open source…

How to install PHP 7 fpm on Alpine Linux

I am a new user of Alpine Linux. How do I install PHP 7.x along with Nginx web server on Alpine Linux?   Nginx is a free and open source web server. You need nginx…

How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script

I wanted to test if my PHP 7 and MySQL/MariaDB for WordPress are working. If not I wanted to see some error on screen or for my monitoring system. How to write a script for…

How to hide PHP 5/7 version when using Nginx

I am using PHP 5.6.xx and Nginx server on an Apline Linux server. I want to hide ‘X-Powered-By: PHP/5.6.32’ HTTP header. How can I hide PHP version when using Nginx along with PHP-fpm5 or PHP-fpm7?…

How to install LAMP [Apache, MySQL, PHP] in CentOS 7

Installation of PHP, MySQL and Apache on LAMP Linux. By installing the services listed above, your server will be ready to host your desired website or application. Installing LAMP Although the operation is very easy, managing…