When beginning a discipline, everybody wants to know what it takes to understand the technologies or programming languages and quickly get to the advanced stuff. People tend to gravitate towards what’s hip and trendy. Everybody wants to be efficient, shorter is better, absorb as much as you can so you…

Install php7.3-fpm & nginx: https://www.cloudbooklet.com/how-to-install-nginx-php-7-3-lemp-stack-on-ubuntu-18-04-google-cloud/

install php7.3

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.3-fpm php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-imagick php7.3-cli php7.3-dev php7.3-imap php7.3-mbstring php7.3-opcache php7.3-soap php7.3-zip unzip -y

sudo vim /etc/php/7.3/fpm/pool.d/www.conf:

  • listen.mode = 0660
  • listen.allowed_clients =

sudo vim /etc/php/7.3/fpm/php.ini

  • upload_max_filesize = 64M
  • post_max_size = 48M
  • memory_limit = 256M
  • max_execution_time = 600
  • max_input_vars = 3000
  • max_input_time = 1000
sudo php-fpm7.3 -t 
sudo service php7.3-fpm restart

You can now test to see if PHP7.3 is running by visiting the port it runs on. For instance port 80 is the port that it usually runs on http://localhost:80/.

credits to intully

The while loop is a simple control structure that allows a body of code to be repeated when the condition is true. It can emulate both the for loop and the for each loop. There are situations where the while loop is all you need.

But REALLY, are while loops…

The loop is a fundamental control structure in programming languages that allow you to repeat a body of code. It is useful for dealing with lists and indefinite conditions.

You may think that indefinite loops can cause problems, but at the heart of every UI application, there is a loop…

Declarative Programming encompasses a wide range of essential programming paradigms including Functional Programming, Logic Programming, and Data-Flow Programming. It reduces side affects, and allows you to write code without needing to specify how it’s done. This way, the computer can optimize how to fetch it based on your criteria. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store