Codeigniter problem : No input file specified. when open the page
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=cco7rMYybYI
In my codeigniter page, i get error No input file specified.
so what the problem?
The problem caused by, your apache+php run the CGI (multi PHP version)..
How to fix that error (No input file specified.) ..?
You can create .htaccess on root of codeigniter folder.
and copy this script :
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
If you already have .htaccess, just add ? on index.php?/$1
then last, refresh your codeigniter page ! :)
Other Videos By Ambar Hasbiyatmoko
Tags:
htaccess
codeigniter
framework
php
apache
cgi
page
url
no input
file
ubuntu
browser
linux
error
rewrite
multi