Laravel Database Migration Error Key too long How to find Laravel Framework Version Create project using latest laravel

Create project using specific version of laravel.

You can see available laravel versions on site […]

Read More…

Laravel Database Migration Error Key too long

When doing a database migration on Laravel, i get following error

This is because MariaDB use different UTF8 format. To fix, edit file

Inside, find

Replace with

You will also need to add

here is how my file look like after editing.

Laravel […]

Read More…


Node.js applications when you run with nodejs command, you need to restart when a change is made to source code of the application. nodemon will watch your application source code for changes, restart if a change is detected. To install nodemon, run


nodejs […]

Read More…

pm2 process manager for node.js

Auto Start pm2 on boot pm2 is a process manager for node.js applications. It is similar to forever. First you need to install npm, on Ubuntu/Debian, run

To install pm2, run

Start an Application

Start an Application with name

Start Application in Cluster mode with

To Scale a clustered […]

Read More…

Check if PHP session is working

To check if PHP session is working, upload following script

Access the file, refresh the page in browser, if you see number increase with every refresh, PHP session is working properly on server. […]

Read More…