Customise XAMPP to add new program?

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

Customise XAMPP to add new program?

Postby malc_b » 31. January 2014 16:26

Hi,

Is there anyway to add another program to the appache, mysql, etc. buttons? Or I guess it might be possible to replace say mercury-start.bat with a different bat file. Or start the program from from with appache-start.bat?

To explain, rather than using mercury which seems over complex for just test a website locally on my PC, or mailtodisk which involves more clicks, I use a program called Test Mail Server Tool www toolheap com. This is a simple program that just captures port 25 output, saves it to directory AND (unlike mailtodisk) opens the message in notepad for me to read. Hence I prefer it to mailtodisk as I don't have to look for the new file and then open it to read it. I'd just like to be able to start it from xampp.
malc_b
 
Posts: 3
Joined: 31. January 2014 16:04
Operating System: win 7-64

Re: Customise XAMPP to add new program?

Postby Altrea » 31. January 2014 16:40

Hi,

The control panel is open source (written in Delphi) and the sources came with every XAMPP installation.
If you are able to code Delphi feel free to add that functionality.

Best wishes,
Altrea
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Customise XAMPP to add new program?

Postby malc_b » 31. January 2014 17:41

I was hoping for a script I could edit. I have done delphi but a while back and I doubt I have a delphi complier installed on my PC still (or one that works on win 7 64bit).
malc_b
 
Posts: 3
Joined: 31. January 2014 16:04
Operating System: win 7-64

Re: Customise XAMPP to add new program?

Postby Altrea » 31. January 2014 17:45

I'm sorry. The XAMPP control panel is not (yet!?) modular enough to add or replace a component in it.
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Customise XAMPP to add new program?

Postby malc_b » 31. January 2014 19:30

I've sorted it - more than one way to skin a cat.

What I've done is recompile mailtodisk after adding os.startfile(writetodisk.filename) in the last section which now reads

Code: Select all
if __name__ == '__main__':
    writetodisk = MailToDisk()
    writetodisk.writemail()
    os.startfile(writetodisk.filename)
    sys.exit()


So that pops up notepad with the new email messages
malc_b
 
Posts: 3
Joined: 31. January 2014 16:04
Operating System: win 7-64

Re: Customise XAMPP to add new program?

Postby Altrea » 31. January 2014 19:37

I'm glad you could solve your problem.
Well done and thanks for sharing :D
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: DrSeussFreak and 65 guests