Welcome Guest, Not a member yet? Register   Sign In
FrameworkException Missing Extension
#1

I have just installed codeigniter 4 and I'm receiving the following error
PHP Code:
foreach ($requiredExtensions as $extension) {
            if (! extension_loaded($extension)) {
                $missingExtensions[] = $extension;
            }
        }
 
        if ($missingExtensions !== []) {
            throw FrameworkException::forMissingExtension(implode(', '$missingExtensions));
        }
    }
 
    /**
      * Initializes Kint
      */
    protected function initializeKint()

I have already enabled intl extension but it's still saying that it cannot find it. I have even restarted and done a full clean and install but till receiving this error 
Reply
#2

Maybe you don't have this extension installed?
Reply
#3

Use `phpinfo()` and check intl is really installed.
Reply
#4

1.Launch the XAMPP Control Panel.
2.Apache -> Configuration -> PHP (php.ini)
3.Remove the ; after searching for ;extension=intl.
4.Changes Should Be Saved
1v1 battle
Reply
#5

To resolve this issue, you need to ensure that the required extensions are installed and enabled in your PHP setup. Here are the steps you can take:

Check the list of required extensions: Review the documentation or installation guide for CodeIgniter 4 to identify the specific extensions that are required for it to function properly.

Verify PHP extensions: Use the phpinfo() function to check if the required extensions are present and loaded. Create a PHP file with the following code and access it through your web browser:

php
Copy
<?php
phpinfo();
?>
Search for the extensions in the PHP configuration page that appears and confirm if they are listed and enabled.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB