Feature request for next Xampp Control Panel

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Feature request for next Xampp Control Panel

Postby TomXampp » 24. March 2017 02:10

It would be helpful if there were a dialog window in the Xampp Control Panel accessible with a button (like [Config]) that allows users to specify the command line options that are accessible when executing HTTPD.EXE. These can be viewed at a CMD prompt by executing
Code: Select all
HTTPD -h
; perhaps not all of them should be available, but having access to the -D option (for specifying <IfDefine name> Directives) would be extremely useful.
TomXampp
 
Posts: 59
Joined: 12. March 2015 03:58
Operating System: Windows 8.1

Re: Feature request for next Xampp Control Panel

Postby Nobbie » 24. March 2017 11:08

I would simply go into the Windows Setup to the Services Section and edit the Apache2 Service. Apply any option to your needs, actually there is no need for a Xampp Control Dialog anyway. I also dont use it on Linux.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Feature request for next Xampp Control Panel

Postby TomXampp » 24. March 2017 15:40

That isn't possible. The Xampp Control Panel creates the Apache and MySQL services dynamically, so they are not present in the services list for editing in the manner you describe; they are only added to the services list *after* they have been created/started by the Xampp Control Panel, and that's too late. Adding a feature to the Control Panel that allows additional command-line switches of HTTPD.EXE to be executed along with the sole, hard-wired "-k" parameter would make the Control Panel more useful.
TomXampp
 
Posts: 59
Joined: 12. March 2015 03:58
Operating System: Windows 8.1

Re: Feature request for next Xampp Control Panel

Postby Altrea » 24. March 2017 20:37

TomXampp wrote:That isn't possible. The Xampp Control Panel creates the Apache and MySQL services dynamically, so they are not present in the services list for editing in the manner you describe; they are only added to the services list *after* they have been created/started by the Xampp Control Panel, and that's too late.

Why is that too late? You create the service with help of the control panel and can edit this service in the Windows service settings.

TomXampp wrote:Adding a feature to the Control Panel that allows additional command-line switches of HTTPD.EXE to be executed along with the sole, hard-wired "-k" parameter would make the Control Panel more useful.

More useful for you, but how many users really misses this feature?
The control panel sources are provided with each XAMPP installation. It is written in Delphi.
So maybe some user will add this functionality, maybe you will add this functionality.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Feature request for next Xampp Control Panel

Postby Nobbie » 24. March 2017 22:32

TomXampp wrote:That isn't possible. ...l.


OMG.

Sorry, but its a pain. Do you know how to switch on/off your PC? Very nice.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Feature request for next Xampp Control Panel

Postby TomXampp » 25. March 2017 16:11

The greater the amount of customization allowed by a program, the stronger and the more useful it is for everyone.

I don't have time to learn Delphi and create a custom Control Panel. Somehow, during the installation process, the Control Panel "learns" where you've installed XAMPP, as it uses its exact path for executing HTTPD.EXE, and it uses the -d switch when it executes. For example, the log file shows this for me when I start the Apache service:

Code: Select all
Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'


Normally, that kind of info would be stored in an .INI file, but I can't locate it, so I'm baffled how it retrieves that info; if I could find it, it's possible that HTTPD switches could be appended to it.

If this could be brought to the attention of whoever maintains & revises the Control Panel, it would be great.
TomXampp
 
Posts: 59
Joined: 12. March 2015 03:58
Operating System: Windows 8.1

Re: Feature request for next Xampp Control Panel

Postby Altrea » 25. March 2017 16:44

TomXampp wrote:The greater the amount of customization allowed by a program, the stronger and the more useful it is for everyone.

That is not true. Simple example? Why should i use Photoshop or GIMP if i just want to convert an image to black and white?
The control panel should help beginner users to have a centralized control panel to start and stop the components and easier find log files.
I don't think that any beginner will try to add any environment variable to a process.

There are many examples of programs getting worse by adding functionality. Examples again? Acronis Server was a really easy and great program for imaging a server. This was true unless Acronis adds functionality of a centralized Licensing server. Nero was a pretty easy burning program. Now you can convert and burn and play nearly everything with it for the cost of easyness and cleanness.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Feature request for next Xampp Control Panel

Postby Nobbie » 25. March 2017 20:39

TomXampp wrote:I don't have time to learn Delphi and create a custom Control Panel.


What a pity. Same for me, but I am not interested in that feature anyway, so obviously it remains, you have to learn Delphi and create a custom Control Panel. Shit happens.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 133 guests