Welcome Guest, Not a member yet? Register   Sign In
How to Install CodeIgniter 4 on Local Machine – Step-by-Step Guide
#1

Hello everyone,
I’m new to CodeIgniter and wanted to share a simple step-by-step guide for installing CodeIgniter 4 on your local machine. It’s pretty straightforward:
  1. Download the latest CodeIgniter 4 release from the official site.
  2. Extract the files to your local web server’s root directory (like
    Code:
    htdocs
    for XAMPP).
  3. Make sure you have PHP 7.3 or higher installed.
  4. Open your terminal, navigate to the project folder, and run
    Code:
    php spark serve
    to start the built-in development server.
  5. Open your browser and go to
    Code:
    http://localhost:8080
    to see the welcome page
    If anyone encounters issues with permissions or PHP extensions, feel free to ask here!
Happy coding!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB