Cant open database
Posted by: Mike102 (---.19.222.254.pool.sknt.ru)
Date: February 02, 2015 03:19PM

1 - Win 7 64 bit)
2 - WampServer 2.5 64 bit
3 - Apache Version 2.4.9
4 - PHP Version 5.5.12
5 - MySQL Version 5.6.17
6 - green
7 - 127.0.0.1 c:/wamp/www/php4dvd/
8 - yes
9 - yes
10 - no error logs
11 - antivirus/firewall off
12 - c:\wamp

I have download and installed free movie database php4dvd. I see this data base in "Your Projects". But if i click to this link, my browser shows an error - "Page is unavailible"and DNS error. What can i do with it?

Options: ReplyQuote
Re: Cant open database
Posted by: RiggsFolly (---.as43234.net)
Date: February 02, 2015 04:42PM

Either just enter `[localhost]\php4dvd`

Or setup proper Virtual Hosts as described here

---------------------------------------------------------------------------------------------
(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: Cant open database
Posted by: Otomatic (Moderator)
Date: February 02, 2015 06:34PM

Hi,

> - 127.0.0.1 c:/wamp/www/php4dvd/

It is not good for windows/system32/drivers/etc/hosts file.
Must be:
127.0.0.1 localhost php4dvd
::1 localhost php4dvd
::1 il the system accept IPv6. It is the case for W7

The names at the right of IP are ServerName, not path. Read the link given by RiggsFolly.

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.