John Davidson

Codeigniter 4 not working in Latest PHP 8

0 comments
Message:


I have installed the latest version of xampp with PHP 8.0 and downloaded the latest version of codeigniter 4 and tried to run it.
But it is showing controller method not found how to fix this issue.
I am helpless


Here is the Error Image



My Answer:
Unfortunately, Codeigniter 4 is not fully compatible with PHP 8 at the moment. The Codeigniter team is working on updating the framework to be compatible with PHP 8, but it may take some time.

In the meantime, you can try downgrading your PHP version to 7.x in XAMPP to run Codeigniter 4 without any issues. You can do this by changing the PHP version in the XAMPP control panel.

Alternatively, you can also try using a different PHP version manager like WampServer or Laragon, which may have better compatibility with Codeigniter 4 and PHP 8.

Keep an eye on the Codeigniter website and GitHub repository for updates on PHP 8 compatibility.

Rate this post

5 of 5 based on 4595 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us