Welcome Guest, Not a member yet? Register   Sign In
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?
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




Theme © iAndrew 2016 - Forum software by © MyBB