v5.0.2.1
Issue: LocalDNS does not work, and/or Hosts file gets overwritten
Status
Issue: LocalDNS does not work, and/or Hosts file gets overwritten
Status
Reported. Could depend on OS, antivirus software, and environment.
Effect
a) On WampDeveloper installation, the entire Windows Hosts file is emptied, or only contains 1 or 2 entries.
b) On website creation or LocalDNS changes, domain-names do not work.
Cause
Antivirus software such as BitDefender (and Windows Defender) block WampDeveloper from making edits to the Hosts file, and/or attempt to restore this file when changes are detected.
Solution
Exclude the process C:\WampDeveloper\wampdeveloper.exe and the folder C:\WampDeveloper\ in the anti-virus software’s settings.
Then open Windows Hosts file (LocalDNS Tab, click button: Hosts file), and add at least these entries in:
127.0.0.1 localhost
127.0.0.1 ServerStatus stat.apache.local
127.0.0.1 ServerInfo info.apache.local
127.0.0.1 ServerHost host.apache.local
127.0.0.1 DefaultWebsite website
127.0.0.1 www.example.com example.com
Issue: PHP’s OPcache crashes Apache on some phpMyAdmin URLs
Status
Fixed in upcoming release.
Effect
Having PHP’s OPcache extension globally enabled AND having “php_admin_flag opcache.enable Off” in either the website’s VirtualHost file or in the configuration of Config\extra\wampd-phpmyadmin.conf will cause Apache to crash after several \phpmyadmin tabs are clicked in succession.
(php.ini)
zend_extension="C:\WampDeveloper\Components\Php\ext\php_opcache.dll"
opcache.enable=1
(C:\WampDeveloper\Config\Apache\extra\wampd-phpmyadmin.conf)
(C:\WampDeveloper\Vhosts\localhost.http.vh.conf)
php_admin_flag opcache.enable Off
URL:
http://localhost/phpmyadmin
It also does not matter if the phpmyadmin file paths are excluded via OPcache’s blacklist file:
(php.ini)
opcache.blacklist_filename="C:\WampDeveloper\Config\Php\opcache.blacklist.txt"
(C:\WampDeveloper\Config\Php\opcache.blacklist.txt)
C:\WampDeveloper\Tools\phpMyAdmin\
C:\WampDeveloper\Tools\phpMyAdmin.php4\
Cause
PHP, OPcache Extension, and/or Apache bug.
Solution
Comment out and do not use “php_admin_flag opcache.enable Off” at all (not in websites’ VirtualHost files nor in Apache configuration files).
If needed, exclude phpmyadmin (and other) file paths via OPcache’s blacklist… Or don’t disable the caching of phpmyadmin if no opcode cache issues are present with used PHP, OPcache Extension, and phpmyadmin versions.
WAMP Component Versions
Apache 2.4.9
PHP 5.5.11 (via mod_php)
phpMyAdmin 4.1.8.0
Issue: Local IPv6 access of \phpmyadmin is denied
Status
Fixed in upcoming release.
Effect
If IPv6 is enabled on your system, and “localhost” get’s resolved to the IPv6 loopback address “::1″, user “root” will not be able to login to URL:
http://localhost/phpmyadmin
You would instead have to use URL:
http://127.0.0.1/phpmyadmin
Cause
phpmyadmin’s configuration file is missing an access entry for the corresponding MySQL “root@::1″ account.
Solution
Edit file:
C:\WampDeveloper\Tools\phpMyAdmin\config.inc.php
Add into the allow/deny rules array line:
'allow root from ::1',
*If you are also going to use the provided phpmyadmin version that’s compatible with the Legacy Apache 2.0 and PHP 4.4 channel, it might not be possible to apply this fix due to Apache lacking IPv6 support and the syntax (::1) being unknown to Apache and/or phpmyadmin. If it was possible, these files would need to be updated:
Tools\phpmyadmin.php4\config.inc.php
Tools\phpmyadmin.php4\.htaccess
Config\Apache\extra\wampd-phpmyadmin.conf