![]() |
hi,
I am trying to configure, multiple apps on single codeigniter 4 installation. I followed: https://codeigniter.com/user_guide/general/managing_apps.html and able to run my multiple apps on localhost. but on live server it gives the following error: Quote:Error 403 - ForbiddenI have changed only the $systemDirectory in app\config\Paths.php and it worked on localhost. Can anyone help? br Muhammad Nadeem
do not use one framework installation for multiple applications. This is bad practice.
It is officially supported.
https://codeigniter.com/user_guide/gener...stallation What's wrong with it?
Just because a framework supports it doesn't mean it's a good solution.
Once upon a time, shared hosting had a limit on the occupied space and the number of files. In this case, such an approach would be relevant, but now there are no such restrictions. Therefore, Symfony abandoned such a feature. In addition, using the composer, this can lead to conflicting versions of packages. And when updating the framework, you will have to update all applications. This approach is a chance to shoot yourself in the foot.
(02-07-2023, 08:26 PM)iRedds Wrote: Just because a framework supports it doesn't mean it's a good solution. Yes, you are right. I am just playing. Its not for production purpose. (02-07-2023, 04:28 AM)kenjis Wrote: It is officially supported. Its solved. There were some problem on hosting side. |
Welcome Guest, Not a member yet? Register Sign In |