Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: February 21, 2017 06:05PM

Installed Wamp for Windows 10 64. Had to change port 80 to 8080 to get to work. Everything worked fine other than designating a fake URL which never worked no matter what.

Problem is, every time I turn the computer off and then back on, Wamp doens't work anymore. I'm not very savvy in this and was using to practice web building with wordpress. Can't load any of my work now. Keep having to back up my sites and reinstall wamp every time and do the port change. Anyone able to help?

Options: ReplyQuote
Re: Problems using WAMP
Posted by: Otomatic (Moderator)
Date: February 21, 2017 06:26PM

Hi,

> Installed Wamp for Windows 10 64.
Please: READ (and answer) BEFORE YOU ASK A QUESTION

> Had to change port 80 to 8080 to get to work
You did not apply the prerequisites displayed when installing wampserver.
Port 80 is reserved for the http protocol, therefore to Apache; It's not up to Apache to change ports, but to applications that use port 80 not to use it.
See item 03 and 08 of TROUBLESHOOTING TIPS but nothing will stop you from reading everything.

Note: For all the local sites and especially for applications like Wordpress, it is necessary to use the VirtualHosts, as with all the hosts: The need for Virtual Host

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.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 »

Options: ReplyQuote
Re: Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: March 06, 2017 09:48PM

1 - Windows version used (Specify version number AND whether 32 or 64 bit)
Windows 10 64-bit
2 - Version WampServer (Specify version number AND whether 32 or 64 bit)
WAMP 3.0.6 64
3 - Apache Version
Apache 2.4.23
4 - PHP Version
5.6.25-7.0.10
5 - MySQL Version
5.7.14
6 - What color is the WampServer icon (in the notification area of the taskbar)
Red. If I install it, I change port from 80 to 8080 and it goes green. But if I restart computer and try again, it stays red.

When all goes well it should be green, but it may be red or orange.

If the WampServer icon is NOT GREEN please ensure you have looked at these files :-
a - Apache error log
-- ( wampmanager -> Apache -> Apache error log )
[Sun Jan 29 20:39:58.215766 2017] [auth_digest:notice] [pid 5800:tid 592] AH01757: generating secret for digest authentication ...
[Sun Jan 29 20:39:58.239803 2017] [mpm_winnt:notice] [pid 5800:tid 592] AH00455: Apache/2.4.23 (Win64) PHP/5.6.25 configured -- resuming normal operations
[Sun Jan 29 20:39:58.239803 2017] [mpm_winnt:notice] [pid 5800:tid 592] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51
[Sun Jan 29 20:39:58.239803 2017] [core:notice] [pid 5800:tid 592] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23'
[Sun Jan 29 20:39:58.241306 2017] [mpm_winnt:notice] [pid 5800:tid 592] AH00418: Parent: Created child process 6316
[Sun Jan 29 20:39:58.447138 2017] [auth_digest:notice] [pid 6316:tid 504] AH01757: generating secret for digest authentication ...
[Sun Jan 29 20:39:58.465651 2017] [mpm_winnt:notice] [pid 6316:tid 504] AH00354: Child: Starting 64 worker threads.
[Sun Jan 29 21:11:43.060994 2017] [mpm_winnt:notice] [pid 5800:tid 592] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 29 21:11:45.076716 2017] [mpm_winnt:notice] [pid 6316:tid 504] AH00364: Child: All worker threads have exited.
[Sun Jan 29 21:11:45.129628 2017] [mpm_winnt:notice] [pid 5800:tid 592] AH00430: Parent: Child process 6316 exited successfully.
[Sun Jan 29 21:31:24.468525 2017] [auth_digest:notice] [pid 2316:tid 528] AH01757: generating secret for digest authentication ...
[Sun Jan 29 21:31:24.510536 2017] [mpm_winnt:notice] [pid 2316:tid 528] AH00455: Apache/2.4.23 (Win64) PHP/5.6.25 configured -- resuming normal operations
[Sun Jan 29 21:31:24.510536 2017] [mpm_winnt:notice] [pid 2316:tid 528] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51
[Sun Jan 29 21:31:24.510536 2017] [core:notice] [pid 2316:tid 528] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23'
[Sun Jan 29 21:31:24.512543 2017] [mpm_winnt:notice] [pid 2316:tid 528] AH00418: Parent: Created child process 1504
[Sun Jan 29 21:31:24.823641 2017] [auth_digest:notice] [pid 1504:tid 476] AH01757: generating secret for digest authentication ...
[Sun Jan 29 21:31:24.842161 2017] [mpm_winnt:notice] [pid 1504:tid 476] AH00354: Child: Starting 64 worker threads.
[Sun Jan 29 21:55:42.175287 2017] [mpm_winnt:notice] [pid 2316:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 29 21:55:44.201390 2017] [mpm_winnt:notice] [pid 1504:tid 476] AH00364: Child: All worker threads have exited.
[Sun Jan 29 21:55:44.247804 2017] [mpm_winnt:notice] [pid 2316:tid 528] AH00430: Parent: Child process 1504 exited successfully.

-- ( wampmanager -> Apache -> Apache access log )
TOO BIG TO POST FULL, HERE IS TOP SMALL PART.
::1 - - [29/Jan/2017:20:52:48 -0800] "GET /Ms HTTP/1.1" 301 320
::1 - - [29/Jan/2017:20:52:48 -0800] "GET /Ms/ HTTP/1.1" 302 -
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-includes/css/buttons.min.css?ver=4.7.2 HTTP/1.1" 200 6361
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-admin/css/install.min.css?ver=4.7.2 HTTP/1.1" 200 5966
::1 - - [29/Jan/2017:20:52:48 -0800] "GET /Ms/wp-admin/setup-config.php HTTP/1.1" 200 10767
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-admin/images/wordpress-logo.svg?ver=20131107 HTTP/1.1" 200 1521
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-includes/js/jquery/jquery.js?ver=1.12.4 HTTP/1.1" 200 97184
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 HTTP/1.1" 200 10056
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-admin/js/language-chooser.min.js?ver=4.7.2 HTTP/1.1" 200 374
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /Ms/wp-admin/images/spinner.gif HTTP/1.1" 200 4162
::1 - - [29/Jan/2017:20:52:50 -0800] "GET /favicon.ico HTTP/1.1" 200 202575
::1 - - [29/Jan/2017:20:52:59 -0800] "POST /Ms/wp-admin/setup-config.php?step=0 HTTP/1.1" 200 2326
::1 - - [29/Jan/2017:20:53:02 -0800] "GET /Ms/wp-admin/setup-config.php?step=1 HTTP/1.1" 200 2711
::1 - - [29/Jan/2017:20:54:17 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4268
::1 - - [29/Jan/2017:20:54:23 -0800] "GET /Ms/wp-admin/setup-config.php?step=1 HTTP/1.1" 200 2711
::1 - - [29/Jan/2017:20:54:35 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4277
::1 - - [29/Jan/2017:20:54:40 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4268
::1 - - [29/Jan/2017:20:54:43 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4259
::1 - - [29/Jan/2017:20:55:14 -0800] "GET /Ms/wp-admin/setup-config.php?step=1 HTTP/1.1" 200 2711
::1 - - [29/Jan/2017:20:55:15 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4268
::1 - - [29/Jan/2017:20:55:31 -0800] "POST /Ms/wp-admin/setup-config.php?step=2 HTTP/1.1" 500 4280
::1 - - [29/Jan/2017:20:56:10 -0800] "GET / HTTP/1.1" 200 5343
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /wampthemes/classic/style.css HTTP/1.1" 200 2466
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=gifLogo HTTP/1.1" 200 4549
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
::1 - - [29/Jan/2017:20:56:10 -0800] "GET /index.php?img=favicon HTTP/1.1" 200 1429
::1 - - [29/Jan/2017:20:56:12 -0800] "GET /phpmyadmin/ HTTP/1.1" 200 3052
::1 - - [29/Jan/2017:20:56:12 -0800] "GET /phpmyadmin/js/codemirror/lib/codemirror.css?v=4.6.4 HTTP/1.1" 200 7771

b - MySQL error log ( wampmanager -> MySQL -> MySQL log )
2017-01-30T04:39:35.689661Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=2524895
2017-01-30T04:39:35.799830Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
2017-01-30T04:39:35.860936Z 0 [Warning] InnoDB: New log files created, LSN=2524895

c - PHP error log ( wampmanager -> PHP -> PHP error log )
[30-Jan-2017 04:39:34 UTC] No error - Only to create the file
[30-Jan-2017 04:57:06 UTC] WordPress database error Unknown column 'wp_' in 'field list' for query SELECT wp_


Depending on the error, one or all of the above may be empty so also look at
d - The windows event viewer
--- Windows Key + R to launch the run dialog then enter eventvwr.exe and press the OK button
--- - On the left side of the windows click 'Windows Logs -> Applications'
--- - Look for the names 'Apache Service' or 'MySQL' in the Source column which have a error symbol in the first column.

If you find any errors that you cannot fix for yourself please post the COMPLETE EXACT error message in your question.

Log Name: Application
Source: Apache Service
Date: 12/31/2016 10:25:55 AM
Event ID: 3299
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: RobertHaney-PC
Description:
The Apache service named reported the following error:
>>> AH00451: no listening sockets available, shutting down .
Event Xml:
<Event xmlns="[schemas.microsoft.com];
<System>
<Provider Name="Apache Service" />
<EventID Qualifiers="0">3299</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-12-31T18:25:55.332234600Z" />
<EventRecordID>26209</EventRecordID>
<Channel>Application</Channel>
<Computer>RobertHaney-PC</Computer>
<Security />
</System>
<EventData>
<Data>The Apache service named</Data>
<Data>
</Data>
<Data>reported the following error:
&gt;&gt;&gt;</Data>
<Data>AH00451: no listening sockets available, shutting down</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
* Active means no # at the beginning of the line.

127.0.0.1 Aetas.dev
::1 Aetas.dev


If the WampServer icon is green: Stays red

8 - Do you have access to localhost (Homepage WampServer)?
8a - If so, is there an error message at the bottom of the page?

9 - Do you have access to phpMyAdmin?

10 - If you refer to an error message, please include the EXACT wording of the error in your post
11 - If you use an Antivirus and / or Firewall, please include the names of these
12 - What is the full path to the installation of WampServer (eg D:\wamp\)
13 - If you have one or more Virtual Hosts defined, please show their definition(s)

Options: ReplyQuote
Re: Problems using WAMP
Posted by: RiggsFolly (Moderator)
Date: March 07, 2017 01:14AM

Look closer at this

c - PHP error log ( wampmanager -> PHP -> PHP error log )
[30-Jan-2017 04:39:34 UTC] No error - Only to create the file
[30-Jan-2017 04:57:06 UTC] WordPress database error Unknown column 'wp_' in 'field list' for query SELECT wp_

That is either a code error of yours, or a WordPress setup error or you have not created and populated the database. Neither os which is anything to do with WAMPServer. Thats an application error.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-



Edited 3 time(s). Last edit at 03/07/2017 01:16AM by RiggsFolly.

Options: ReplyQuote
Re: Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: March 07, 2017 08:15PM

I'm not sure what that error means. Or how to solve it. I'm just now learning this stuff. It works fine when I uninstall everything and reinstall it. As soon as I turn the computer off and back on, it does this over and over to where the symbol stays red.

Options: ReplyQuote
Re: Problems using WAMP
Posted by: RiggsFolly (Moderator)
Date: March 07, 2017 08:16PM

Are you installing WAMPServer AND running WAMPServer as an Administrator?

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: March 07, 2017 09:50PM

Yes.

Options: ReplyQuote
Re: Problems using WAMP
Posted by: Otomatic (Moderator)
Date: March 07, 2017 10:36PM

Hi,

> 127.0.0.1 Aetas.dev
> ::1 Aetas.dev

In the hosts file, you MUST also have:
127.0.0.1 localhost
::1 localhost

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.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 »

Options: ReplyQuote
Re: Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: March 08, 2017 01:04AM

Otomatic Wrote:
-------------------------------------------------------
> Hi,
>
> > 127.0.0.1 Aetas.dev
> > ::1 Aetas.dev
>
> In the hosts file, you MUST also have:
> 127.0.0.1 localhost
> ::1 localhost


Changed it to localhost. Didn't solve anything. Changed it back because a tutorial I did set it up that way so I can fake a URL while navigating to the "site" while I'm making it.

Options: ReplyQuote
Re: Problems using WAMP
Posted by: RiggsFolly (Moderator)
Date: March 08, 2017 01:50AM

What Otomatic ment was that you shoud have BOTH in your HOSTS file like this

127.0.0.1 localhost
::1 localhost

127.0.0.1 Aetas.dev
::1 Aetas.dev

You need define both localhost AND your Virtual Host definition, and maybe many other Virtual Host definitions like

127.0.0.1 localhost
::1 localhost

127.0.0.1 Aetas.dev
::1 Aetas.dev

127.0.0.1 Aetas.uat
::1 Aetas.uat

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Problems using WAMP
Posted by: PleaseW84myRX8 (---.dhcp.reno.nv.charter.com)
Date: March 08, 2017 06:40AM

K, did both now and wamp still won't run.

Options: ReplyQuote


Sorry, only registered users may post in this forum.