DVWA安装问题(phpStudy)

安装过程出现的问题:

1.PHP function allow_url_include disabled

 

注意DVWA的版本    PHP version: 5.4.45

 

打开/phpStudy/php/php-5.4.45/php.ini,找到

allow_url_include=Off      改为:


allow_url_include=On

 

2.Could not connect to the mysql service. please check the config file

打开/phpStudy/dvwa/config/config.inc.php,将

$_DVWA[ 'db_password' ] = 'p@ssw0rd';      改为:

$_DVWA[ 'db_password' ] = '';



3.reCAPTCHA key:Missing


打开/phpStudy/dvwa/config/config.inc.php,将


$_DVWA[ 'recaptcha_public_key' ]  = '';

$_DVWA[ 'recaptcha_private_key' ] = '';


改为:

$_DVWA[ 'recaptcha_public_key' ] = '6LdK7xITAAzzAAJQTfL7fu6I-0aPl8KHHieAT_yJg';

$_DVWA[ 'recaptcha_private_key' ] = '6LdK7xITAzzAAL_uw9YXVUOPoIHPZLfw2K1n5NVQ';

转载于:https://www.cnblogs.com/liuyunbuji/p/8385834.html

你可能感兴趣的:(DVWA安装问题(phpStudy))