MySQL 5.7.12
PHP 7.1
Apache 24
Windows 64bit
Once the code is downloaded,
1, first import the sql.sql of the directory into the database
2. Open the application\config\database.php file and locate the Database configuration field
As follows:
$db [' Default '] [' hostname '] = ' localhost '; General default can be
$db [' Default '] [' username '] = ' root '; Database user Name
$db [' Default '] [' password '] = ' root '; Database Password
$db [' Default '] [' database '] = ' sql '; Database name
In particular, (Tai hang): If you use PHP7 or above, you must use mysqli instead of MySQL
$db [' Default '] [' dbdriver '] = ' mysqli ';
Besides, the modules inside the php.ini also need to be opened.
Extension=php_bz2.dll
Extension=php_curl.dll
Extension=php_fileinfo.dll
Extension=php_ftp.dll
Extension=php_gd2.dll
Extension=php_gettext.dll
Extension=php_gmp.dll
Extension=php_intl.dll
Extension=php_imap.dll
; Extension=php_interbase.dll
; Extension=php_ldap.dll
Extension=php_mbstring.dll
; Extension=php_exif.dll; Must is after mbstring as it depends on it
Extension=php_mysqli.dll
; Extension=php_mysql.dll
; Extension=php_oci8_12c.dll; Use with Oracle Database 12c Instant Client
Extension=php_openssl.dll
; Extension=php_pdo_firebird.dll
; Extension=php_pdo_mysql.dll
; Extension=php_pdo_oci.dll
; Extension=php_pdo_odbc.dll
; Extension=php_pdo_pgsql.dll
Extension=php_pdo_sqlite.dll
; Extension=php_pgsql.dll
; Extension=php_shmop.dll
3, login account for the admin password for admin
If only white screen does not have any error prompts, you need to change the production to development, to have errorlog output
Define (' Environment ', ' development ');
By the time Apache was installed,
Need to start with administrator, go to Apache bin directory, install
Httpd.exe-k install-n "Apache24"
Start again
Httpd.exe-k start-n "Apache24"
WAMP Environment Configuration