The minimum requirement for YII2 is that your Web server supports PHP 5.4.0. The installation require following steps: 1: If you don’t have composer, download it from https://getcomposer.org/Composer-Setup.exe and execulete in yout root folder like c:\xampp\php\ 2: Go to your project folder like c:\xampp\htdocs\yourprojectfolder 3. After this run php init command it is just copy…


What are the possibles ways to solve this Dining Philosophers Problem??? Question: Consider the following two scenarios in the dining philosophers problem: (i)First a philosopher has to enter a room with the table that restricts the number of philosophers to four. (ii) There is no restriction on the number of philosophers entering the room. Which…


PHPExcel extension is used to experting and importing Excel to PHP. In this example we are reading Excel data by using this extension and inserting the data in given tables accordingly. PHPExcel extension is used to experting and importing Excel to PHP. In this example we are reading Excel data by using this extension and…


CURL is a library that allows you to connect and communicate to many different types of servers with many different types of protocols. Or wecan say CURl is library through which we can make HTTP request in PHP. In order to use CURL funcion you need to install the libcurl package. The basic steps of…


If we wnat to display Archives Post with custom HTML. To get Archives Post: type : monthly(Default), daily, weekly, yearly, postbypost(order by postdate) & alpha(orderby post title) format : 1) Custom: if we wnat to add custom HTML 2) HTML : <li> tag before and after string. 3) Option <select> or dropdown <option> tag before…