Home >Backend Development >PHP Tutorial >Detailed explanation of php running environment configuration
2, load model:
3, supported types:
4, mysql configuration: Modify the php.ini file and configure php First, copy php.ini-development or php.ini-production in the php directory to the c:windows directory. And rename it to php.ini
Open php .ini modification: Find the line; extension_dir = "./" and change it to extension_dir = " d:phpext" (note to remove the previous ";") ;date.timezone = modified to date.timezone ="asia/shanghai" (note to remove the preceding ";") short_open_tag is set to on extension=php_mbstring.dll (wide character support, recommended to select and remove the preceding ";") extension=php_gd2.dll (php gd library support, required, remove the previous ";") extension=php_mysqli.dll (remove the preceding ";") extension=php_mysql.dll (make php support mysql, required to remove the previous ";")Save and exit to complete the mysql configuration. |