Web Development General

How to Update to PHP 8 in WAMP Server Localhost

Since PHP version 8 has been released recently and you as a developer want to put your hands on to the exiting journey of PHP version 8, you must be wondering how to upgrade to PHP 8 in WAMP server. This article with a YouTube video will guide you to update WAMP server to PHP version 8.

As you can understand, You can use PHP 5, PHP 7, PHP 8 in a single WAMP installation. Also you can use multiple version of PHP of same release like PHP 7.2 and PHP 7.4 within the same WAMP server installation. This is a nice way to work on multiple PHP version and you just have to select the needed PHP version in WAMP.

How to Update to PHP 8 in WAMP Server Localhost Read More »

Blog_Docker_Nodejs_Mysql

Build Docker Container for Node.js and MySQL Based Application

Docker has given a different perception to application development and their run time environment. Containerization of application is very much essential now a days. Think about you have two different application in production server at same time and those applications are developed in Node.js 8 and Node.js 10 respectively. Now you can imagine how much trouble it could be to manage two different Node.js version.

If you were using Docker, you could simply spin up another container, set the Node.js version to 8.x and put it right next to your other container that has Node.js version 10.x on it, running on the same server with no problems whatsoever. That flexibility, portability and the option to more efficiently use your server resources are what make Docker so compelling to use.

For PHP and MySQL, you may read our blog on Build Docker Container for PHP 7 and MySQL Based Application

 

Build Docker Container for Node.js and MySQL Based Application Read More »

docker_php_mysql_logo

Build Docker Container for PHP 7 and MySQL Based Application

Docker has given a different perception to application development and their run time environment. Containerization of application is very much essential now a days. Think about you have two different application in production server at same time and those applications are developed in PHP 7.2 and PHP 5.6 respectively. Now you can imagine how much trouble it could be to manage two different PHP version.

If you were using Docker, you could simply spin up another container, set the PHP version to 5.6 and put it right next to your other container that has PHP version 7.2 on it, running on the same server with no problems whatsoever. That flexibility, portability and the option to more efficiently use your server resources are what make Docker so compelling to use.

The below YouTube Video will tell you how to install Docker. Here we are using Ubuntu as OS but if you are an Windows user, you can create a virtual machine using Virtual Box and Install Ubuntu as Virtual OS. This approach is better as your primary or host OS is untouched from any activity required for your learning purpose. You may watch this YouTube video on How to Install Ubuntu as virtual machine (VM).

 

Build Docker Container for PHP 7 and MySQL Based Application Read More »

Install_NodeJS_on_Ubuntu

How To Install Node.js on Ubuntu 18.04 LTS

Introduction

Node.js is a run time environment for JavaScript execution at server side. For general-purpose programming Node.js allows users to build web / network applications quickly. By leveraging JavaScript on both the front and backend, Node.js makes development more consistent and integrated.

In this guide, we’ll show you how to get started with Node.js on an Ubuntu 18.04 LTS server.

How To Install Node.js on Ubuntu 18.04 LTS Read More »

CodeIgniter 3 – Tips to setup your project

CodeIgniter (CI) is a fantastic MVC (Model-View-Controller) framework for PHP web app development. Many people use it for personal or professional projects. In this blog, I will discuss few tips to setup the configuration for your project.

1.) Setting up environment:

 It is very important to set the ENVIRONMENT variable in index.php file. You first develop, test and then move your application to Production. Depending on these phases, your project needs different configurations like API key, payment gateway key etc. For example, when you develop or test your app, you need to connect to the payment gateway’s sandbox instance with the sandbox’s credentials and when you are ready for prod, you connect to the payment gateway’s production instance with real credentials.

How to setup the environment properly? Open the index.php and search for the text:

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');

This will set the environment depending on the environment variable CI_ENV set in the .htaccess file. Open the .htaccess file and put the below line of code for Apache:

CodeIgniter 3 – Tips to setup your project Read More »

How to configure PHP 7 on WAMP server in localhost

Being a PHP developer you want to configure PHP 7 on your localhost for various reasons. You might want to explore the new features of PHP 7 or you might be upgrading your existing website to PHP 7 and want to test in your local machine first or you might be creating a brand new project on PHP 7. This blog will help you to configure PHP 7 for WAMP server in localhost.

(Note: You first check with your hosting server about PHP 7 is available or not. If yes, what version of PHP 7 is available.)

Very first thing to know is PHP 7 requires minimum Apache 2.4.x and also it needs WAMP Server 2.5. If you already have WAMP 2.5, ou do not have to uninstall anything. You can configure PHP 7 with WAMP 2.5. How to check your WAMP server version? Right click on the WAMP icon on your windows taskbar and click About… It will show your current WAMP version.

How to configure PHP 7 on WAMP server in localhost Read More »

Scroll to Top