Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Starting Apache and MySQL automatically

Featured Replies

I want to start Apache and MySQL automatically when I launch uniserver without having to click on Start Apache and Start MySQL. Is this possible?

 

According to past forum posts, there used to be batch files that could this, but I couldn't find any in the latest version.

 

Also, I can't get uniserver to start automatically with apache and mysql at computer startup, despite configuring it to do so.

 

But I would still much rather launch it myself using a batch script and have apache and mysql start on application launch.

 

Thank you,

 

Alex

Two things: First and foremost, tell us what version of The Uniform Server you are using. What version of Windows would be helpful, also.

Second, when you say "configuring" it to run at startup, do you mean that you set it to start it as a service (which is the right way)? The batch files were a workaround for making the programs run as a service.

 

Regards,

BobS

  • Author

I got what I believe is the latest one: Zero XI, 11.0.0 and I'm under Windows 8

 

I don't think I configured it to run as a service, I just went in Extra -> PC-win start-up and checked everything.

 

Ideally, I would not like to run everything on computer start-up, but rather just have Apache and MySQL start automatically when I launch the UniController.exe

 

I was using XAMPP before, the config file had:

 

[Autostart]

Apache = 1

MySQL = 1

 

That did exactly that. Is something similar possible with uniserver? If not, is there a workaround I could make myself?

 

The reason I ask is that I have a backdoor into my home server that runs a few services for myself and my friends (games, small web server etc). As I'm often away, I have little scripts that I can execute from anywhere to remotely play around with things.

You can use command-line parameters for example:

UniController.exe start_both
UniController.exe stop_both

For details see reference manual page:
UniServerZ/docs/manual/command_line_parameters.html

All the best
Ric

  • 2 weeks later...

Hi all.

We were using the coral 8 version and know we are moving to Zero version.

I have a question regarding the " run at startup" feature. is this option install uniserver as service (like for the corl 8 version) or just start uniserver when computer starts.

I have another question regarding this feature, if it's not a service do a user need to login to start the uniserver ?

 

Thank you.

 

Guillaume

  • 2 weeks later...

Hi All,

 

I have made a test with uniserver Zero XI (11_0_1) and windows 7 64b

I have activated the run at start-up (seems to need administrator rights) and restart my computer

-> i was able to access to the website without any user logged in.

 

I have check the msconfig program and see unicontroller zero in the startup tab.

So in this version, uniserver is no more a service.

 

Has someone tried to use this version on a windows server system ? i don't know if the behaviour is the same.

 

 

Guillaume

My question is now that it uses a registry key instead of a service, how do I start it as a service account I created?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.