PHP Version
7.4
CodeIgniter4 Version
4.2.6
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
On one of the hosting reg.ru there is a problem "No input file specified"
I believe that this is an incorrect server setting (related due to nginx or php-cgi), they write about it on other resources.
The problem was solved by changing public/.htaccess
on the
RewriteRule ^([\s\S]*)$ index.php [L,NC]
I don’t know how common this error is, maybe it’s worth adding a note about this to the documentation?
https://codeigniter.com/user_guide/installation/troubleshooting.html
for example this: If you encounter a No input file specified error, try changing htaccess to "code example"
Steps to Reproduce
Move files from localhost to shared hosting
Expected Output
Must run app
Anything else?
No response
PHP Version
7.4
CodeIgniter4 Version
4.2.6
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter)Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
On one of the hosting reg.ru there is a problem "No input file specified"
I believe that this is an incorrect server setting (related due to nginx or php-cgi), they write about it on other resources.
The problem was solved by changing public/.htaccess
on the
RewriteRule ^([\s\S]*)$ index.php [L,NC]I don’t know how common this error is, maybe it’s worth adding a note about this to the documentation?
https://codeigniter.com/user_guide/installation/troubleshooting.html
for example this: If you encounter a No input file specified error, try changing htaccess to "code example"
Steps to Reproduce
Move files from localhost to shared hosting
Expected Output
Must run app
Anything else?
No response