Hi,
Why do you follow tutorials, written by people who don't know much about it and who date, when everything you need is here.
Your hosts file MUST be:
127.0.0.1 localhost
::1 localhost
127.0.0.1 joomla
::1 joomla
and your httpd-vhosts.conf file MUST be :
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName joomla
DocumentRoot "c:/wamp64/www/joomla"
<Directory "c:/wamp64/www/joomla/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride all
Require local
</Directory>
</VirtualHost>
#
In addition, all the tools needed to manage VirtualHost are integrated in Wampserver.
- If it is not already done, apply Update 3.1.3 to your version of Wampserver
Wampserver update 3.1.3Do not forget, after modifying the hosts and httpd-vhosts.conf files, to restart the DNS so that the changes are taken into account by the system and by Apache.
Right-click -> Tools -> DNS Restart
------------------------------------------------------------------------------------------------------------
Wampserver 3.1.7 32 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25 - MariaDB 10.3.12
Wampserver 3.1.7 64 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25/8.0.14 - MariaDB 10.3.12
PhPMyadmin 4.8.5 - MysqlDumper 1.24.5 on W10 and W7 Pro 64 bit
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »