localhost com erro
Posted by: Teixeira (---.virtua.com.br)
Date: July 22, 2021 06:02PM

Dear Desire Health and Peace,
Use WampServer:
Apache Version: 2.4.41 - Documentation
Server Software: Apache/2.4.41 (Win64) PHP/7.1.33 - Port defined for Apache: 80
PHP Version: 7.1.33 - Documentation
MySQL Version: 8.0.18 - Port defined for MySQL: 3306 - Default DBMS - Documentation
MariaDB Version: 10.4.10 - Port defined for MariaDB: 3307 - Documentation

I happened to notice that before my folders that are in Your Projects, i used to click on them and i opened the pages.
Now in these folders the projects no longer offer this condition. It only allows you to open by typing in the address, such as: [localhost], ai sim shows "Parent Directory" and below all the pages of that directory.
I note, also that at the bottom of the localhost page reads: "These are your folders in c:/wamp64/www
To use them as an http link, you must declare them as VirtualHost Your Aliases adminer phpMyAdmin phpsysinfo Your VirtualHost localhost"

When I installed WAMPSERVER, it was created in C:/www64/www.

I don't know what I'm supposed to do.
Thank you

Re: localhost com erro
Posted by: RiggsFolly (Moderator)
Date: July 22, 2021 06:06PM

First you read THE NEED for VIRTUAL HOSTS

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.5 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: localhost com erro
Posted by: Teixeira (---.virtua.com.br)
Date: July 22, 2021 07:19PM

First you read THE NEED FOR VIRTUAL HOSTS
Yes, you're right. I wouldn't know how to answer.
So that doesn't mean I'm wrong about Localhost?

Re: localhost com erro
Posted by: Otomatic (Moderator)
Date: July 23, 2021 03:15PM

Hi,

> So that doesn't mean I'm wrong about Localhost?
Typing 'http://localhost/aulas/' is definitely the wrong way to go, even if it seemed valid ten years ago.
Reading The need for Virtual Host should convince you.
Especially since there is a tool integrated to Wampserver to create your own VirtualHost:
Wampserver 3 - Create or add a VirtualHost

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.6 32 bit - Apache 2.4.51 - PHP 8.0.11…5.6.40 - MySQL 5.7.35 - MariaDB 10.5.12/10.6.4
Wampserver 3.2.6 64 bit - Apache 2.4.51 - PHP 8.0.11…5.6.40 - MySQL 5.7.35/8.0.26 - MariaDB 10.5.12/10.6.4
PhPMyadmin 5.1.1 - 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 »

Re: localhost com erro
Posted by: Teixeira (---.virtua.com.br)
Date: July 23, 2021 06:01PM

I really appreciate your attention, but I don't get it. Do you leave it as a stand? It's not a mistake, so you're out of the links? It doesn't matter when it's necessary to type all the way.
The purpose I saw on YouTube, a person with the same problem and oriented to type something in a line of code "bin" that would come back, but it is not my version.
No problem I will stay that way even without the links in "Your Projects". I just don't understand how nothing changes. I know something I did or didn't do.
Once again thank you for everything and lots of health and peace.

Re: localhost com erro
Posted by: Otomatic (Moderator)
Date: July 27, 2021 11:57AM

Hi,

> I just don't understand how nothing changes.

It is a link -> The need for Virtual Host <- It is a link.

And if, for more than five years, it has changed!
The world is changing, and so are the rules.
At hosting companies like MisterHosting, Gandi, OVH, Ionos, PlanetHoster, etc. you don't type:
'http://MisteHosting/mysite/'
'http://Gandi/mysite/'
'http://OVH/mysite/'
'http://Ionos/mysite/'
'http://PlanetHoster/mysite/'
etc.
to go to your site, so there is no reason to type: 'http://localhost/mysite/'.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.6 32 bit - Apache 2.4.51 - PHP 8.0.11…5.6.40 - MySQL 5.7.35 - MariaDB 10.5.12/10.6.4
Wampserver 3.2.6 64 bit - Apache 2.4.51 - PHP 8.0.11…5.6.40 - MySQL 5.7.35/8.0.26 - MariaDB 10.5.12/10.6.4
PhPMyadmin 5.1.1 - 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 »

Re: localhost com erro
Posted by: Teixeira (---.virtua.com.br)
Date: July 28, 2021 02:27AM

Thank you so much for your attention. I would like to mark that the post has been resolved.

Sorry, only registered users may post in this forum.