ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.79k stars 1.35k forks source link

[Bug]: XAMPP Control Panel doesn't detect running modules? #11372

Closed gphg closed 1 year ago

gphg commented 1 year ago

Prerequisites

Package Name

xampp

Expected/Current Behaviour

image I started the module and it stuck at this message. This applies to all modules:

17:46:09  [Apache]  Attempting to start Apache app...
19:39:49  [mysql]   Attempting to start MySQL app...
19:42:38  [filezilla]   Attempting to start FileZilla app...
19:42:46  [mercury]     Attempting to start Mercury app...
19:42:55  [Tomcat]  Attempting to start Tomcat app...

The module itself is running on background. When I re-hit the "start" the error obviously occurs because other program occupies the port.

Steps to Reproduce

1. Get XAMPP installed
2. Open XAMPP Control Panel
3. Run any module
4. Rerun after moments later
5. Try to stop it.

Possible Solution

Because the module doesn't detect the running programs, I have to stop the running programs from command-line or terminate it with task manager.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
9040a51fb (HEAD -> master, origin/master, origin/HEAD) standardnotes: Update to version 3.160.19

'games' bucket:
7809b4eb (HEAD -> master, origin/master, origin/HEAD) yuzu: Update to version 0-1453

'main' bucket:
e40ae52f4 (HEAD -> master, origin/master, origin/HEAD) wp-cli: Update to version 2.8.0

Scoop Config

PS> scoop config

last_update                       debug scoop_branch scoop_repo
-----------                       ----- ------------ ----------
2023-06-01T04:41:29.5917813+07:00  True master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.2673
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2673
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

HUMORCE commented 1 year ago

screenshot_230602_103533

Detection works when service installed.

gphg commented 1 year ago

Looks like I have to run it as Administrator and get it running as service. This mean the runtime will behave like Admin and kinda grayish on security matter.

HUMORCE commented 1 year ago

This is the design of program.