• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to use Codeigniter4

#1
guys i need help. i try the ci4 and when i go to "localhost/ci4dev" and then i see this.

If you see this message, you have not configured your web server properly.
You need to set your "document root" to the 
Code:
public

 folder inside your project. This could be your default setting, or that of a virtual host, depending on how you set up your local development environment.
Reply

#2
(08-08-2016, 05:23 PM)reymarkdivino Wrote: guys i need help. i try the ci4 and when i go to "localhost/ci4dev" and then i see this.

If you see this message, you have not configured your web server properly.
You need to set your "document root" to the 
Code:
public

 folder inside your project. This could be your default setting, or that of a virtual host, depending on how you set up your local development environment.

What's your question? The message is telling you to, in a nut-shell, run the site from the public folder. What are you using as a webserver? Apache? NGINX? PHP's built-in server?
Support Development  • Practical CodeIgniter 3  • Vulcan - CLI Tools for CI4
Reply

#3
(08-08-2016, 05:23 PM)reymarkdivino Wrote: guys i need help. i try the ci4 and when i go to "localhost/ci4dev" and then i see this.

If you see this message, you have not configured your web server properly.
You need to set your "document root" to the 
Code:
public

 folder inside your project. This could be your default setting, or that of a virtual host, depending on how you set up your local development environment.

Code:
cd public
And run your server from there. Something like
Code:
php -S localhost:8000
Long live CodeIgniter!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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