How to install or setup CodeIgniter 4 In Xampp Server
To install CodeIgniter please follow the below step:
-
Download the latest CodeIgniter by click on the download link version from the official codeigniter website.
URL: https://codeigniter.com/
- Unzip the file in your htdocs folder.
- Set the baseurl by open application/config/config.php file with a text editor.
public $baseURL = 'http://localhost/Folder Name/';
To chcek CodeIgniter install successfully or not open the below link in your browser.
http://localhost/Folder name
- If you getting error like this then the solution is
- Go to the Xampp control panel then click the Apache-config-PHP(php.ini)
http://localhost/Folder name
Then Restart your Apache.Then chcek CodeIgniter install successfully.