Deploy CodeIgniter 4 to Shared Hosting (cPanel)

preview_player
Показать описание
In this video I will show you how to easily deploy a Codeigniter 4 application to a shared hosting account with cPanel. We will deploy Codeigniter 4 app without having to type in one command. Everything will be done via Cpanel and FTP.
Рекомендации по теме
Комментарии
Автор

Absolutely love how you ended the video! :D
"And for all of you out there, echo this in h2", "Thank you for watching." :D :D :D
Thank you so much for sharing such valuable content. Your codeigniter 4 tutorials (login & OAuth examples, especially) are AMAZING!

prabhunimish
Автор

Love from Bangladesh! I have seen all the videos from your CI4 series. you made me easy to learn this. though i have 8 years experience about ci2 and ci3. wishing you a best of luck.

md.arifurrahman
Автор

Hi Alex. I am trying to move from CI3 to CI4.5.1. I followed your video, but the process is now a bit outdated. I can only get the Welcome Screen to show and no other controller (Get error 404 - Can't find a route for 'GET: xxxx). After a week of trying all sorts of recommendations, I have got nowhere. Never had any issues with CI3 and Grocery Crud.

intercitycharters
Автор

Hey, Alex How do I change Robots.txt in the Public_html folder to get indexed in all search engines. My Home page only getting indexed. How do I index the pages inside the View folder? I am using Custome routes.

lastbenchguy
Автор

Hi alex, do you encounter on the live server, home page work perfectly only but when you call other page, then error page 404 will be displayed. In my localhost, controller works perfectly to call all the pages and no page 404 error. Thank you in advance!

jackvaughn
Автор

awesome video bro.... this was the only thing stopping me from making the transition from ci3 to ci4...

codesevaco.
Автор

Awesome. Thanks a lot. From Iran ❤️❤️❤️

vetyab_com
Автор

hi alex lancer,
I have uploaded the project of codeigniter 4 on the cpanel, the project has been uploaded but the error of database connection is showing.The database detail is set in the database.php file. The database detail is set in the .env file as well, yet there is an error. Can you do some help

deesoftservice
Автор

My shared hosting setup has multiple domains (mine) ALL under the public_html directory, each in their own subfolders.
I have actually set my paths in the index.php file to point TWO levels up the file hierarchy to be above public_html. It didn't seem to like "../../<path>", so i explicitly set it from the root of my provider's system like this:$pathsPath =
This has also got me wondering whether some of my other domains, notably Wordpress installs, might be exposing their config files since they, too, exist under public_html.
Hmmm...

cantseenothing
Автор

Hola Alex, excelente tutorial man. Muchas gracias!

Pavonsig
Автор

Thanks Alex, if i use diferent controllers files how can pass a submit form to a diferent file controller? In localhost i’dont have the problem

javierq
Автор

I deployed project on server, problem is that index.php file from root directory is running but after that bank screen is coming. After going to error_log there was this error
"PHP Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at in
I didn't know how to resolve it ?

sameerdodai
Автор

Hi I have tried to instatll CI4(manual and composer, php7.4) using ubuntu 20 with ngix not installed my local pc can any one help?

wsos
Автор

Everything is well explained, thank you!

musaddiqktk
Автор

Hi Alex, thanks for the help!!!


You solve my problem. I have a channel on Youtube too where I publish videos about CodeIgniter 4 (in portuguese). Sorry if my english is not so good!!!


Hugs from Brazil!!!

rafaelpinheiro
Автор

how can i upload ci version with this system structure ?

pippuccio
Автор

please can i have a one to one with you, i am having the same problem on the latest version

abrahamodianjo
Автор

I completed the installation the same as your video but still get Whoops We seem to have hit a snag. The only difference is the name of the directory Codeigniter that I named with my project name but I changed also in index.php. Everything is fine in xamp localhost but not on the server. When you created the subdomain, did you redirected somewhere? I'm hosting with Hostgator. Isn't any change to do in .htaccess?

carmengagnon
Автор

Hi and thanks for the Tuts. Is it bad idea if I move index and htaccess into root folder ? Will that have an effect on the security?

MultiPitshou
Автор

I think hosting with AWS is a lot easier, you just need to 'composer install' and setup Virtual Host

ayaneshsarkar