For writing your code in the android for developing web apps use the apps given below…
first you need to install sqlite3 on your ubuntu desktop for that run following command.
sudo apt update
sudo apt install sqlite3
Install the following extension in your VSCode.
Now open the directory in VSCode in which your sqlite3 database is present.In my case it is a customer.db database as you can see in the following image.
When you install nodejs in ubuntu by default it install the node from apt repo where the latest version at the time of writing this article is v10.19.0.
But the latest version of node is v14.16.1 so how to install this? Don’t worry here i am going to give you solution about that.
The thing is you can install nodejs from Node source PPA but i am going to show you how you can install by Node version manager that is NVM.So first we need to install nvm in ubuntu so write the command given below.
sudo apt-get update
If you noticed that after installing apache2, server is behaving fine but it only serving you the static files means you php code is not executed by apache2.So in this article i am going to give you the solution of this problem.
First we need to install library module of php for apache2 so write the command given below in your terminal.
sudo apt-get install php libapache2-mod-php
Now we have to enable mpm_prefork and php module and disable mpm_event so for enabling and disabling we have command a2enmod stands for apache2enable module and a2dismod stands for apache2 disable module. …