CodeIgniter is a free and open-source PHP MVC Framework used for building websites in PHP. It is a very powerful framework that allows you to easily create full-featured web applications. CodeIgniter provides a set of useful libraries used for performing various operations like sending emails, uploading files, managing sessions, and more. Lightweight but powerful, CodeIgniter enables developers to write their applications much more quickly.
In this tutorial, we will explain how to install the CodeIgniter PHP Framework on Debian 10.
A fresh Debian 10 VPS on the Atlantic.net Cloud Platform
A root password configured on your server
Step 1 – Create an Atlantic.Net Cloud Server
First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Debian 10 as the operating system with at least 1GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.
Once you are logged in to your Debian 10 server, run the following command to update your base system with the latest available packages.
apt-get update -y
Step 2 – Install LAMP Stack
First, you will need to install the Apache web server, MariaDB server, PHP, and other required packages in your system. You can install all of them by running the following command:
Save and close the file, then enable the virtual host configuration file with the following command:
Next, restart the Apache service to apply the changes:
systemctl reload apache2
Step 6 – Access CodeIgniter
At this point, CodeIgniter is installed and configured with Apache. Now, open your web browser and access the URL http://codeigniter.example.com. You should see your CodeIgniter application in the following screen:
Congratulations! You have successfully installed CodeIgniter Framework with Apache on Debian 10. For more information about how to use this PHP web application framework visit the CodeIgniter documentation page. Get started with CodeIgniter today on a Debian 10 VPS with VPS Hosting from Atlantic.Net!