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 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Web servers panel

Post by FourthWorld »

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 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Web servers panel

Post by FourthWorld »

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