![]() |
(06-12-2022, 12:36 AM)univerbau Wrote: I installed CI 4.2 on web hosting server and did following changes: My suggestions are as follows: (1) Install CI4 using composer (2) Move ".htaccess" and "index.php" files from ci4->public folder to the ci4 root folder. (3) edit index.php file and change line 20 from [require FCPATH . '../app/Config/Paths.php';] to [require FCPATH . '/app/Config/Paths.php';]. (4) rename "env" file to ".env" file (5) edit .env file change - [CI_ENVIRONMENT = production] to [CI_ENVIRONMENT = development] - [app.baseURL = ' '] to [app.baseURL = 'http://<hostname>/ci4/' (enter you host name). (6) To run your instance enter the URL: http://<hostname>/ci4. (no need to enter 'public" folder name in the url. Thats it. |
Messages In This Thread |
CI 4.2 Debug Toolbar not working - by univerbau - 06-12-2022, 12:36 AM
RE: CI 4.2 Debug Toolbar not working - by kenjis - 06-12-2022, 04:33 PM
RE: CI 4.2 Debug Toolbar not working - by nayo - 06-13-2022, 05:50 AM
RE: CI 4.2 Debug Toolbar not working - by murugappan - 06-13-2022, 06:54 AM
RE: CI 4.2 Debug Toolbar not working - by kenjis - 06-13-2022, 05:39 PM
RE: CI 4.2 Debug Toolbar not working - by univerbau - 06-14-2022, 06:22 AM
|