• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Document Root

Hi friends,

For testing, I upload CI 4 on my testing server and finding how I can set document root to CI public folder, but I can not find so, I talk to my hosting provider and he said we do not allow to change the document root path (shared hosting).

Any idea how can I  test ci 4 without changing document root ?

For one you should check to make sure that your shared hosting is running PHP 7.

If they will not allow a pubic folder then you need to copy the files from the public folder into your root folder.

You edit the index.php file to point to the system and application folders.

On my server its public_html so I just rename the public folder to that.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.