Web servers panel

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
theux
Posts: 15
Joined: Fri Sep 06, 2013 4:43 am

Web servers panel

Post by theux » Wed Jan 29, 2014 4:41 am

Hi guys,

I hope this is the right place for this question.

I'm wondering if is possible to build a simple panel where I can start/stop apache and mysql? In other words, how do I interact with those servers?

Thank you!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Web servers panel

Post by FourthWorld » Wed Jan 29, 2014 4:48 am

Apache and MySQL are controlled via the command line, and LiveCode can trigger shell commands with the shell function - so, yep, you can do it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

theux
Posts: 15
Joined: Fri Sep 06, 2013 4:43 am

Re: Web servers panel

Post by theux » Thu Jan 30, 2014 3:05 am

Thank you. I'm trying to dig on shell functions, but I cannot find a proper documentation. Any suggestions?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Web servers panel

Post by FourthWorld » Thu Jan 30, 2014 4:00 am

For LiveCode, see the "shell" function in the Dictionary. For Apache and MySQL, there's so much out there Google's your best bet.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply