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

Options: ReplyQuote
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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<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-

Options: ReplyQuote
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?

Options: ReplyQuote
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

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
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.

Options: ReplyQuote
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/'.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
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.

Options: ReplyQuote


Sorry, only registered users may post in this forum.