Step 1: Prepare the LAMP Server A) Connect with instance Command: chmod 400 pemfile_name.pem ssh -i “pemfile_name.pem” ec2-user@public_dns Example: ssh -i “pemfile_name.pem” [email protected] B) Now check software is updated Command: sudo yum update -y C) Now we need to install apcahe server, MySql, and and PHP software packages. Command: sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd D) start Apcahe web Server Command: sudo service httpd start E) Now run chkconfig command to configure the…

Step 1: Install Laravel 6 Project I am going to install a laravel project using composer. composer create-project –prefer-dist laravel/laravel laravel6 Step 2: Going inside of project using the command cd laravel6 Step 3: Setup MySQL database Now, configure this database in the .env file. DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel6 DB_USERNAME=root DB_PASSWORD=root@123 Step 4: Route Setup Here I am going to create routes to get and post method. now open “routes/web.php” file and put below code.…

Step 1: Install Laravel 6 Project I am going to install a laravel project using composer. composer create-project –prefer-dist laravel/laravel laravel6 Step 2: Going inside of project using the command cd laravel6 Step 3: Setup MySQL database Now, configure this database in the .env file. DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel6 DB_USERNAME=root DB_PASSWORD=root@123 Step 4: Create employee_images Table and Model also. Here, I have created migration for employee_images using Laravel 6 php artisan command, you can check…

Step 1: Install Laravel Project I am going to install a laravel project using composer. composer create-project –prefer-dist laravel/laravel laravel7datatables Step 2: Going inside of project using the command cd laravel7datatables Step 3: Setup MySQL database Now, configure this database in the .env file. DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel7datatables DB_USERNAME=root DB_PASSWORD=root@123 I have done local database credentials. Now migrate database php artisan migrate Step 4: Install yajra Package We going to install the yajra/laravel-datatables-oracle package by…

JavaScript is technically scripting language but it does almost everything programing language do. It’s going to be the most popular language for next 5 years or more. JavaScript is the combination of Java, Scheme, and Smalltalk. (see also Node.js Electron, Jibo Robots). Python —— Python is perfect programming language, it is descendant of ABC – ABC (programming language) – Wikipedia Python is a multi-paradigm programming language, that means OOPS and structured programming both supported. Java —- Java…

Add code inside of your controller and make the function this easiest way to make custom messages in methods when you want to validate requests: public function create() { request()->validate([ ‘name’ => ‘required’, ‘description’ => ‘required’ ], [ ‘name.required’ => ‘A name is required’, ‘description.required’ => ‘A description is required’ ]); }

Check if your hosting mod_rewrite is enabled by creating a file phpinfo.php with content.Set the permalink structure Go to Dashboard > Settings > Permalinks and choose “Custom Structure” option and enter in the field: /%postname%/ and click on the Save Changes button. Edit your .htaccess file Copy the following directive into your .htaccess file which is located in the root of your website folder: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$…