Blank Screen With localhost/index.php;mysql.php
Posted by: bobandbarborris (---.hsd1.pa.comcast.net)
Date: December 26, 2014 05:44AM

Hi All!

My first post.

I'm taking a class at Udemy.com. "Learning Dynamic Website Design - PHP, MYSQL & Javascript"

According to the instructor's instruction:

I get a blank screen when changing addresses for both index.php & mysql.php:
[localhost]
[localhost]

When I left-click on "localhost" I again get a blank screen with: "[localhost];.

Here is the information you requested:

1.& 2.)32 bit Windows & WampServer version

3.) Apache Version: 2.4.9

4.) PHP Version 5.5.12

5.) MYSQL Version: 5.6.17

6.) What color is the WampServer? “Orange”

If the WampServer icon is NOT GREEN

a.) Apache error log: there is none

Apache access log: there is none

b.) MySQL log: Starts on page 3

c.) PHP error log: there is none

***
+ System
- Provider
[ Name] Apache Service
- EventID 3299
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-12-25T02:55:32.000000000Z
EventRecordID 225256
Channel Application
Computer BobIsBarbs-PC
Security
- EventData
The Apache service named reported the following error: >>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80

***
+ System
- Provider
[ Name] MySQL
- EventID 100

[ Qualifiers] 49152
Level 3
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-12-23T01:00:13.000000000Z
EventRecordID 221522
Channel Application
Computer BobIsBarbs-PC
Security
- EventData
No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 0d401dff-8a3f-11e4-8dac-5404a690b97e.

***

c:windows/system32/*/hosts is
127.0.0.1 localhost

127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost

The MYSQL log is 10 pages long. Would you like me to copy/paste it to?

I will appreciate any help "you" can provide.

Thanks in advance.

Respectfully,

Bob

Options: ReplyQuote
Re: Blank Screen With localhost/index.php;mysql.php
Posted by: RiggsFolly (---.as43234.net)
Date: December 30, 2014 04:21PM

Hi Bob,

If the WAMPServer icon is orange then either the Apache(wampapache) or MySQL(wampmysqld) services have not started.

From the Event log it looks like APache has not started because something else has allocated TCP port 80.


Run this to help find out what that is :-

left click wampmanager -> Apache ->Services -> Test port 80

That will launch a command window and report what is using port 80.


If the solution is not obvious post the EXACT message here and we will advise,

---------------------------------------------------------------------------------------------
(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: Blank Screen With localhost/index.php;mysql.php
Posted by: bobandbarborris (---.hsd1.pa.comcast.net)
Date: December 31, 2014 11:34PM

Hi RiggsFolly,

Thanks for responding!

The error message was "Your port is actually used by: Server: Microsoft-IIS/8.5"

I'll google this and see what I can find. If I can't fix it, I'll reply again.

I'll also check out the link for the Apache manual.


Thanks in advance.

Bob

Options: ReplyQuote
Re: Blank Screen With localhost/index.php;mysql.php
Posted by: bobandbarborris (---.hsd1.pa.comcast.net)
Date: January 01, 2015 12:30AM

Hi RiggsFolly,

Thanks for responding!

The error message was "Your port is actually used by: Server: Microsoft-IIS/8.5"

I'll google this and see what I can find. If I can't fix it, I'll reply again.

I'll also check out the link for the Apache manual.


Thanks in advance.

Bob

Options: ReplyQuote
Re: Blank Screen With localhost/index.php;mysql.php
Posted by: RiggsFolly (---.as43234.net)
Date: January 01, 2015 01:29AM

That is IIS so if you are not using it ( IIS that is ) uninstall it.

Do a google to find out how to uninstall IIS

---------------------------------------------------------------------------------------------
(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: Blank Screen With localhost/index.php;mysql.php
Posted by: bobandbarborris (---.hsd1.pa.comcast.net)
Date: January 03, 2015 01:07AM

I did a search of the Control Panel with “Microsoft IIS” and “Default Web Site” and came up blank both times.

I then did a search of Windows Help and Support and again came up blank.

I found 2 websites which mentioned the Windows Feature.

[www.youtube.com]

[superuser.com]

IIS is a Windows Feature, use the Turn Windows features on or off link on the site to remove Internet

Information Services and Internet Information Services Hostable Web Core. That should technically remove it.

If that doesn't do it, post up what you're seeing.

I clicked the “Turn Windows features on or off” couple times to ensure I tried to turn it on.

The box was empty each time.

I found the following on another website:

By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open

port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf

Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen 8080" (u

can change this port as what you want), and then close and save the httpd.conf file.

Open a web browser and enter "[];, this will open the WampServer configuration page where you can

configure Apache, MySQL, and PHP.

and some times this problem may occur because of skype also use 80 as default port hope this will help

I tried “Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen

8080" (u can change this port as what you want), and then close and save the httpd.conf file.” I get “Cannot

find listen 80”

I'll keep looking. I'll also try contacting the instructor.

I cannot continue with my class until this is fixed. Thank God there isn't a time limit.

Thanks for your helping hands.

Respectfully,

Bob

Options: ReplyQuote
Re: Blank Screen With localhost/index.php;mysql.php
Posted by: JimSundqvist (---.ias.bredband.telia.com)
Date: January 03, 2015 01:41AM

Normally my problem when i cannot access wamp is that skype is running, you could try to turn that off before starting wamp in case you are using skype.

If you really want to listen to 8080 for wamp left click the wamp icon, go to apache and then click http.conf.

Once in there you if you just scroll down a little bit you will find:

Listen 0.0.0.0:80
Listen [::0]:80

something like that, just add another 80 behind these lines and save the document and close it.

Then you left click the wamp icon again and chose restart all services and it should turn green for you.

Options: ReplyQuote


Sorry, only registered users may post in this forum.