Here's an update:
I restarted the XAMPP Control Panel with the boxes under Service left unchecked for both Apache and MySQL.
MySQL has started successfully. I'm still having issues starting Apache, but now the error is different. It reads...
6:09:53 PM [Apache] Error: Apache shutdown unexpectedly.
6:09:53 PM [Apache] This may be due to a blocked port, missing dependencies,
6:09:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:09:53 PM [Apache] Press the Logs button to view error logs and check
6:09:53 PM [Apache] the Windows Event Viewer for more clues
6:09:53 PM [Apache] If you need more help, copy and post this
6:09:53 PM [Apache] entire log window on the forums
I thought I changed the port already. So, I guess something else is causing Apache to crash. But, what, exactly? I'm not really sure which log to check.
Help, please.
> -----Original Message-----
> From: Frank Gingras <thumbs@xxxxxxxxxx>
> Sent: Saturday, March 2, 2024 8:54 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: Apache Not Starting via XAMPP.
>
> On Fri, Mar 1, 2024 at 8:04 PM <webadmin@xxxxxxxxxxx> wrote:
>
> > Greetings.
> >
> > I would like to install WordPress on an external USB drive connected
> > to my local Windows 11 workstation so I can design and try out new
> > websites without immediately posting to an online and public hosting service.
> >
> > To that end, I installed XAMPP on the above-mentioned hard drive and
> > need to be able to use Apache through the XAMPP control panel.
> > However, Apache will not start. Every time I try to start Apache the
> > log in the bottom portion of the XAMPP control panel has a line that
> > states "Attempting to start Apache service..." and nothing more. And I
> > can't connect to my localhost using any of my browsers.
> >
> > I tried to change, via the Config button, the port associated with
> > Apache but that didn't work.
> >
> > Also, I noticed that, when I open the XAMPP Control Panel (always in
> > Administrator Mode), the log section in the control panel window
> > includes, in red,...
> >
> > ---------------
> > 2:49:58 AM [Apache] Apache Service detected with wrong path
> > 2:49:58 AM [Apache] Change XAMPP Apache and Control Panel settings or
> > 2:49:58 AM [Apache] Uninstall/disable the other service manually first
> > 2:49:58 AM [Apache] Found Path: "C:\Program Files
> > (x86)\Promise\Pegasus Utility\apache\bin\httpd.exe" -k runservice
> > 2:49:58 AM [Apache] Expected Path: "i:\xampp\apache\bin\httpd.exe" -k
> > runservice
> > ---------------
> >
> > So, Apache was already installed earlier on the startup (C:) drive of
> > my computer. But, I'm trying to have Apache, MySQL and the rest of the
> > XAMPP apps reside on my separate (I:) drive, because I want to use
> > that I: drive to build my new websites offline with WordPress.
> >
> > I suppose I could uninstall/remove the copy of Apache that's on the C:
> > drive. However, given its location in the Promise and Promise Utility
> > folders, I think my Promise Pegasus RAID drive relies on it. I need my
> > RAID to be available at all times. Therefore, I don't really want to
> > tamper with any files related to it, including the copy of Apache on that C: drive.
> >
> > So, could you please provide suggestions on how can I have a copy of
> > Apache work via the XAMPP Control Panel on my external drive?
> >
> > Thanks.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> >
> Why would a RAID utility need a HTTP server? In any case, you could always re-
> install it, if needed.
>
> Or you could fix the path errors, or use WSL2 to install httpd.
>
> --0000000000004887a60612b7e251
> Content-Type: text/html; charset=TF-8"
> Content-Transfer-Encoding: quoted-printable
>
> <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div
> dir="ltr" class="gmail_attr">On Fri, Mar 1, 2024 at 8:04 PM <<a
> href="" href="mailto:webadmin@xxxxxxxxxxx" target="_blank">webadmin@xxxxxxxxxxx">webadmin@xxxxxxxxxxx</a>>
> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px
> 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greetings.<br>
> <br>
> I would like to install WordPress on an external USB drive connected to my<br>
> local Windows 11 workstation so I can design and try out new websites<br>
> without immediately posting to an online and public hosting service.<br> <br> To
> that end, I installed XAMPP on the above-mentioned hard drive and need to<br>
> be able to use Apache through the XAMPP control panel. However, Apache
> will<br> not start. Every time I try to start Apache the log in the bottom portion
> of<br> the XAMPP control panel has a line that states "Attempting to start
> Apache<br> service..." and nothing more. And I can't connect to my
> localhost using any<br> of my browsers.<br> <br> I tried to change, via the
> Config button, the port associated with Apache<br> but that didn't
> work.<br> <br> Also, I noticed that, when I open the XAMPP Control Panel
> (always in<br> Administrator Mode), the log section in the control panel window
> includes,<br> in red,...<br> <br> ---------------<br>
> 2:49:58 AM [Apache] Apache Service detected with wrong path<br>
> 2:49:58 AM [Apache] Change XAMPP Apache and Control Panel settings or<br>
> 2:49:58 AM [Apache] Uninstall/disable the other service manually first<br>
> 2:49:58 AM [Apache] Found Path: "C:\Program Files
> (x86)\Promise\Pegasus<br> Utility\apache\bin\httpd.exe" -k
> runservice<br>
> 2:49:58 AM [Apache] Expected Path: "i:\xampp\apache\bin\httpd.exe"
> -k<br> runservice<br> ---------------<br> <br> So, Apache was already installed
> earlier on the startup (C:) drive of my<br> computer. But, I'm trying to have
> Apache, MySQL and the rest of the XAMPP<br> apps reside on my separate (I:)
> drive, because I want to use that I: drive<br> to build my new websites offline
> with WordPress.<br> <br> I suppose I could uninstall/remove the copy of Apache
> that's on the C:<br> drive. However, given its location in the Promise and
> Promise Utility<br> folders, I think my Promise Pegasus RAID drive relies on it. I
> need my RAID<br> to be available at all times. Therefore, I don't really want
> to tamper with<br> any files related to it, including the copy of Apache on that C:
> drive.<br> <br> So, could you please provide suggestions on how can I have a copy
> of Apache<br> work via the XAMPP Control Panel on my external drive?<br>
> <br> Thanks.<br> <br> <br> ---------------------------------------------------------------
> ------<br>
> To unsubscribe, e-mail: <a href="" href="mailto:users-unsubscribe@xxxxxxxxxxxxxxxx" target="_blank">users-unsubscribe@xxxxxxxxxxxxxxxx"
> target="_blank">users-unsubscribe@xxxxxxxxxxxxxxxx</a><br>
> For additional commands, e-mail: <a href="" href="mailto:users-help@xxxxxxxxxxxxxxxx" target="_blank">users-help@xxxxxxxxxxxxxxxx"
> target="_blank">users-help@xxxxxxxxxxxxxxxx</a><br>
> <br></blockquote><div><br></div><div>Why would a RAID utility need a
> HTTP server? In any case, you could always re-install it, if
> needed.</div><div><br></div><div>Or you could fix the path errors, or use
> WSL2 to install httpd.</div></div></div>
>
> --0000000000004887a60612b7e251--