Welcome Guest, Not a member yet? Register   Sign In
Document Root
#1
Question 

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 ?
Reply
#2

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 )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB