代码点火器手动安装问题



Codeigniter 4在第224行显示此错误:SYSTEMPATH\Codeigniter.php。(下面是完整的错误正文(

问题似乎是缺少$extension intl。我已经准备好编辑php.ini文件,删除中的分号;extension=intl

仍然不起作用。知道怎么解决这个问题吗?


217             {
218                 $missingExtensions[] = $extension;
219             }
220         }
221 
222         if ($missingExtensions)
223         {
224             throw FrameworkException::forMissingExtension(implode(', ', $missingExtensions));
225         }
226     }
227 
228     //--------------------------------------------------------------------
229 
230     /**
231      * Initializes Kint

回溯服务器请求响应文件内存SYSTEMPATH\CodeIgniter.php:224--CodeIgniter\Exceptions\FrameworkException::forMissingExtension(arguments(

$extension intl

217             {
218                 $missingExtensions[] = $extension;
219             }
220         }
221 
222         if ($missingExtensions)
223         {
224             throw FrameworkException::forMissingExtension(implode(', ', $missingExtensions));
225         }
226     }
227 
228     //--------------------------------------------------------------------
229 
230     /**
231      * Initializes Kint

SYSTEMPATH\CodeIgniter.php:172--CodeIgniter\CodeIgnater->resolvePlatformExtensions((

165         // Setup Exception Handling
166         Services::exceptions()->initialize();
167 
168         // Run this check for manual installations
169         if (! is_file(COMPOSER_PATH))
170         {
171             // @codeCoverageIgnoreStart
172             $this->resolvePlatformExtensions();
173             // @codeCoverageIgnoreEnd
174         }
175 
176         // Set default locale on the server
177         locale_set_default($this->config->defaultLocale ?? 'en');
178 
179         // Set default timezone on the server

SYSTEMPATH\bootstrap.hp:159--CodeIgniter\CodeIgniter->初始化((

152  *
153  * The CodeIgniter class contains the core functionality to make
154  * the application run, and does all of the dirty work to get
155  * the pieces all working together.
156  */
157 
158 $app = new CodeIgniter(new App());
159 $app->initialize();
160 
161 return $app;
162 
require FCPATHindex.php   —   require()

转到php.ini文件并取消注释扩展名=intl

相关内容

  • 没有找到相关文章

最新更新