GD with FreeType or ImageMagick PHP extensions is required.
FreeType OR ImageMagick request the GD library PHP extension. The reason I found this problem is that the Yii background verification code needs to introduce the graphics processing function of this library, the path is not correct and the Extension=php_gd2.dll library file is not opened.
Extension_dir = "C:/wamp/php/ext";(Note: This is my local extension library path and needs to be modified to the correct path, i.e.
Extension=php_gd2.dll
Extension=php_pdo.dll
Extension=php_pdo_sqlite.dll
Extension=php_pdo_mysql.dll
Extension=php_sqlite.dll
The path to the folder where the delimiter "/" or "\" is available. )
Let's fix it, A. First find your own php.ini file, my file in C:\wamp\Apache2\bin, remember that this change to correct. Open it, find Extension_dir, and change to the absolute path of the folder where the DLL dynamic link library files are located.
B. Second, search extension to find the above 5 files, one after the other, remove the previous ";" Number. Note: If you do not open Php_pdo.dll, you will receive the following prompt:
Yiibase::include (pdo.php) [<a href= ' function. Yiibase-include ' >function. Yiibase-include</a>]: Failed to open stream:no such file or directory
If the C.php_pdo_sqlite.dll does not open, a hint will appear that the user name does not exist. is used to connect to the database. Therefore, you do not open a hint that the user name does not exist.
d.php_pdo_mysql.dll if it does not open, it appears:
cdbconnection failed to open the DB connection.
Tip the database connection is not open.
e. php_sqlite.dll does not open, there is a case where the user name does not appear with the C open.
The above is in the use of YII framework problems, I hope that the need for a friend to help, I am also in the network to find a lot of answers have not been the case, the integration of our experience to get my solution experience and approach. qq:284053253
GD with FreeType or ImageMagick PHP extensions is required. Error resolution