Codeigniter 4 and PHP 8 |
(01-05-2021, 04:32 AM)ViLar Wrote:(01-04-2021, 11:33 PM)John_Betong Wrote: I have just git cloned the latest CI4 Version and it works OK with PHP phpversion: 8.0.0. Im getting a similar Error when using php spark : Type: ErrorException Message: Required parameter $from follows optional parameter $verbs Filename: C:\xampp\htdocs\ardritkWebsite\vendor\codeigniter4\framework\system\Router\RouteCollection.php Line Number: 1017
Anyone wanting to use CI4 in PHP 8 should be using the 4.1 branch. Latest develop should technically work but it is not advised.
Release date will have to be determined by the Foundation but in my opinion we are ready for 4.0.5 and 4.1, both with PHP 8 support.
In php8, I can't use Modeling in config. With php7, I can call in config file:
PHP Code: public static $registrars = [
Error 500 is usually a Server Error but could also be a programing Error.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |