Prerequisite Installing WordPress 5.3 Nginx – Mariadb – Php-7.3 w/ PHP 7.3 FPM Standalone Server without any control panel

I am sharing how do I normally install the required software to run WordPress using Woocommerce on a standalone server without using any bloated control panel including the all time JUNK CPANEL and all the others.

I am assuming you are running Ubuntu 19.10 x64

#!/bin/sh

sudo timedatectl set-timezone America/New_York
sudo timedatectl set-ntp on
timedatectl
apt-get update && apt-get upgrade -y
apt install php-fpm php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-ldap php-imap php-zip php-curl nginx mariadb-client mariadb-server php-imagick php-json -y


sed -i 's,^listen =.*$,listen = 127.0.0.1:1000,' /etc/php/7.3/fpm/pool.d/www.conf

sed -i 's,^upload_max_filesize =.*$,upload_max_filesize = 100M,' /etc/php/7.3/fpm/php.ini

sed -i 's,^post_max_filesize =.*$,post_max_filesize = 50M,' /etc/php/7.3/fpm/php.ini

sed -i 's,^memory_limit =.*$,memory_limit = 128M,' /etc/php/7.3/fpm/php.ini

sed -i 's,^max_execution_time =.*$,max_execution_time = 300,' /etc/php/7.3/fpm/php.ini

sed -i 's,^max_input_vars =.*$,max_input_vars = 100000,' /etc/php/7.3/fpm/php.ini

Leave a Reply

Your email address will not be published. Required fields are marked *