The Online/Offline function just changes the httpd.conf file from
OffLine = Allow from 127.0.0.1 localhost ::1
to
OnLine = Allow from all
and of course visa versa.
It has nothing to do with making Apache run or not. It does however stop and start the Apache service which, if it is not running in the first place can cause this error message.
So if the apache service (wampapache) is not actually running dont bother trying to Online/Offline THERE IS NO POINT. If this is the case the wampmanager icon ( W in the stsrem tray ) will be RED or ORANGE
RED = Apache and MySQL NOT RUNNING
ORANGE = Either Apache running OR MySQL running but not both.
GREEN = Apache and MySQL services are running.
Ok so your real problem is that the Apache service is not running. Solve that and we will be getting somewhere.
1. Check the apache error log ( probably nothing in it if it in fact exists at all )
2. Check the Windows Event Viewer for messages from Apache. If Apache fails before it can open its error log it writes very helpful messages to the event log with error code and line numbers from the httpd.conf file where the error occured, if it is an error in httpd.conf.
Post back what you find.... Not millions of the same error message please.
---------------------------------------------------------------------------------------------
(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-