Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 Installation Failed (Please help)
#1

Hello everyone,

I installed Codelgniter 3 successfully following the below command.

Quote:wget https://github.com/bcit-ci/CodeIgniter/a.../develop.z

But when I try to install Codelgniter 4 on Cloudways (Custom PHP Stack) using this command:

Code:
composer create-project codeigniter4/appstarter project-root

Installation is completed successfully, but I'm not able to see my installation page / welcome page, is there anyone who can help me out or provide me wget URL to install version 4 like 3.

Thank you
Reply
#2

I think you have a location problem. You installed CodeIgniter somewhere on the server to the project-root directory (specified in the command).

Files from CodeIgniter's public folder must be in publicly available folder on the server (it is usually public_html or web). Other folders should be outside of it and you must specify what is where in index.php (around line #20) and in app/Config/Paths.php . You must also change the $baseURL variable in app/Config/App.php . I hope I did not miss anything.
Reply
#3

Hi Muzikant,

Thanks for your help, But I'm getting the same error, can you please share the wget link to download the CodeIgniter 4.2 version.

for example: wget https://github.com/bcit-ci/CodeIgniter/a...evelop.zip
Reply




Theme © iAndrew 2016 - Forum software by © MyBB