Hi tdopun,
I assume you are talking about the message you get when you hover the mouse pointer over the wampmanager icon in the system tray i.e.
WAMPSERVER - Server OfflineThis does not mean what you are assuming it means,
and it most definitely does not mean Apache has crashed or stopped working.This is reporting that Apache is not accepting connections from
outside your localhost i.e. it will only reply to connections made from the PC that it is installed on i.e localhost, 127.0.0.1 or ::1.
This is the state that WAMPServer is initially installed in. So that you dont get hacked when you first install and start the Apache server. Of course if you are behind a Router and you have not Port Frowarded port 80 you should be safe anyway, but if you are behind a straight modem you may not be so safe.
So basically while you are using WAMPServer(Apache) to develop and test your site it should work just fine in this offline state. In fact I never use any other state. Basically WAMPServer is ment to be used as a development and testing environment and not a LIVE server.
If you do want to allow anybody in the universe to access your site, you can change this state from OFFLINE to ONLINE by using the wampmanager menus like this [ wampmanager -> Put Online ]
All this actually does is change the httpd.conf file so that :-
This part of the file
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from localhost
Is changed to
# onlineoffline tag - don't remove
Order Allow,Deny
Allow from all
This tells apache to accept connections from any ip address in the universe.
Of course you would also have to set port 80 on your router to forward all incoming requests to port 80 on your PC that has WAMPServer( Apache ) installed on it.
PS.
If you are using WAMPServer 2.4 which comes with Apache 2.4.x the actual command used in the httpd.conf file are a little different and the [Put Online/Put Offline] code does not work properly.
Can I suggest that you read this document [
forum.wampserver.com] and make the suggested fixes.
---------------------------------------------------------------------------------------------
(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 --
phpMyAdminGet 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-