Welcome Guest, Not a member yet? Register   Sign In
Problems with CodeIgniter 4.0.4
#6

(09-02-2020, 02:47 PM)chenzen Wrote: in your command prompt, navigate into the root folder and enter the following command

php spark serve

If you want to avoid the index.php, create a .htaccess file and put the following code there:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

Hope this helps

CodeIgniter 4 comes with an .htaccess file.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Problems with CodeIgniter 4.0.4 - by Omar Crespo - 09-02-2020, 12:57 PM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-02-2020, 02:47 PM
RE: Problems with CodeIgniter 4.0.4 - by InsiteFX - 09-03-2020, 04:07 AM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-02-2020, 07:02 PM
RE: Problems with CodeIgniter 4.0.4 - by demyr - 09-03-2020, 12:51 AM
RE: Problems with CodeIgniter 4.0.4 - by InsiteFX - 09-06-2020, 06:19 AM
RE: Problems with CodeIgniter 4.0.4 - by chenzen - 09-06-2020, 11:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB