DVWA+XAMPP Construction Display garbled problem and solution _php example

Source: Internet
Author: User
, DVWA display garbled, there are two solutions:

1, method One, the temporary solution, that is, each time must be manually modified: using the browser's code modification

2, Method Two: Permanent scheme, that is, modify the DVWA configuration file, modify the default encoding, location (remember to open the hidden folder)

C:\xampp\htdocs\DVWA\dvwa\includes\dvwaPage.inc.php

Because the installation path is different, but the relative path (that is, the DVWA placement path) dvwa\dvwa\includes\dvwapage.inc.php is unchanged

Modify the HTTP header inside: Change the default encoding utf-8 to gb2312 so that each display is normal

Installing Shopex in XAMPP Local environment garbled

Development tools

Local Environment Program: XAMPP Mall Construction Station program: SHOPEX

The first step : The phenomenon: the XAMPP local environment is set up, installation Shopex station program, the normal is the Shopex of the boot prompt installation, the resulting page garbled. Info tip: Fatal error:class ' kernel ' not found in D:\bendi\xampp\htdocs\install\install.core.php on line 10

Step Two : Reason: Xampp latest version 1.8.1, PHP version: 5.4.7, because Zendoptimizer is not supported PHP5.3.0
, so when XAMPP is 1.7.2, (its PHP version is already 5.3.0), Zendoptimizer is not being used. But Shopex is encrypted with Zend Guard, must be optimized with Zendoptimizer before installing Shopex, otherwise it will appear garbled like the beginning.

The third step : The solution: For the cause of garbled, we use the XAMPP1.7.1 version of the installation, after installation we can see in the Xmapp installation directory under the PHP folder has a Zendoptimizer folder. Reinstall Shopex again, no garbled smooth into the installation wizard, after installation, if you want to use XAMpp1.8.1, as long as not remove the 1.7.1 version of the direct installation can be.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.