This script checks if your server configuration meets the requirements for running Yii application. It checks if the server is running the right version of PHP, if appropriate PHP extensions have been loaded, and if php.ini file settings are correct.
There are two kinds of requirements being checked. Mandatory requirements are those that have to be met to allow Yii to work as expected. There are also some optional requirements being checked which will show you a warning when they do not meet. You can use Yii framework without them but some specific functionality may be not available in this case.
Please refer to the table below for detailed explanation.
|PHP version||Passed||Yii Framework||PHP 5.4.0 or higher is required.|
|Reflection extension||Passed||Yii Framework|
|PCRE extension||Passed||Yii Framework|
|SPL extension||Passed||Yii Framework|
|MBString extension||Failed||Multibyte string processing||Required for multibyte encoding string processing.|
|Mcrypt extension||Warning||Security Component||Required by encrypt and decrypt methods.|
|Intl extension||Warning||Internationalization support||
PHP Intl extension 1.0.2 or higher is required when you want to use advanced parameters formatting
|Fileinfo extension||Passed||File Information||Required for files upload to detect correct file mime-types.|
|DOM extension||Warning||Document Object Model||
Required for REST API to send XML responses via
|PDO extension||Passed||All DB-related classes|
|PDO SQLite extension||Warning||All DB-related classes||Required for SQLite database.|
|PDO MySQL extension||Passed||All DB-related classes||Required for MySQL database.|
|PDO PostgreSQL extension||Warning||All DB-related classes||Required for PostgreSQL database.|
|GD PHP extension with FreeType support||Passed||Captcha||Either GD PHP extension with FreeType support or ImageMagick PHP extension with PNG support is required for image CAPTCHA.|
|ImageMagick PHP extension with PNG support||Warning||Captcha||Either GD PHP extension with FreeType support or ImageMagick PHP extension with PNG support is required for image CAPTCHA.|
|PHP safe mode||Passed||File uploading and console command execution||"safe_mode" should be disabled at php.ini|
|Expose PHP||Passed||Security reasons||"expose_php" should be disabled at php.ini|
|PHP allow url include||Passed||Security reasons||"allow_url_include" should be disabled at php.ini|
|PHP mail SMTP||Passed||Email sending||PHP mail SMTP server required|