Codeigniter 4 Basic - How to load web page in Windows XAMPP | 2my4edge

07 February 2022

Codeigniter 4 Basic - How to load web page in Windows XAMPP

Today we are going to see how to load web page in codeignter 4. Codeignter 4 is latest version of codeigniter php framework. this is very basic to load web page in MVC framework, many tutorials are confusing to make the page load in codeingiter 4. i'm going to show you how to load it in windows xampp. 

How to load web page in Windows XAMPP in Codeigniter

If you are aware of codeigniter 3, you can make this easy, if not, i will tell you, first of all we need intall XAMPP.

STEP 1 : DOWNLOAD CODEIGNITER 4 - DOWNLOAD LINK

After downloading, we need to extract the downloaded file.

STEP 2 : Create project folder at XAMPP htdocs

Here I have created one folder called ci4. in that I have pasted all extracted files.

STEP 3 : Load the path in Browser

Paste http://localhost/ci4/
ci4 codeigniter 4 index folder
The files are in public folder. We need to click on public folder.

ci4 codeigniter 4 public folder

Like this Whoopes Error you will get, after that, you need to open XAMPP CONTROL PANEL.

ci4 codeigniter 4 xampp control panel

In the php.ini file, we need to add one line.
ci4 codeigniter change php.ini file

extension=intl this link we need to add in the php.ini file, after that we need to restart the XAMPP apache.

after that refresh the browser tab. 

ci4 codeigniter 4 successfull loaded file
Thats all, now the page is loaded successfully, if you want change the content in that page. you can go the app -> Views folder you can change the file content.

I hope this tutorial is really helpful to you. see on the next useful post. Stay connected with us in all social media platform for more updates.

No comments:

Post a Comment

^