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.

Portable USB Server with all features

Featured Replies

Is there any miniserver with all features (Apache/PHP/mySQL) and no pre-installed scripts ready to put in USB drive that can run in paralel with other Apache?

I didn't find it. :D

<?

André Lima

Web Developer

REFFER

Fortaleza - CE - Brazil

?>

If there were a mini-server with that configuration it would be a duplication of 3.5

 

US 3.5 is very flexible and relatively easy to modify to run more than one instance.

 

US 3.5 defaults:

Drive W - Apache port 80 - MySQL port 3306

The following shows how to change these and give a server with the following values:

Drive Z - Apache port 8080 - MySQL port 3308

 

1) Move server to port 8080

 

Start Uniform Server from Apanel click Apache Configuration link change Listen: to port 8080 click save.

Stop servers.

 

2) Move MySQL Port from 3306 to 3308:

 

Edit File \udrive\usr\local\mysql\bin\my-small

 

Change two occurrences (lines 9 and 18) of 3306 to 3308

 

3) Edit file: \udrive\home\admin\www\phpMyAdmin\config.inc.php

 

Change (line 38)

cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port

To:

cfg['Servers'][$i]['port'] = '3308'; // MySQL port - leave blank for default port

 

4) Edit file: \udrive\home\admin\program\Close.bat

 

Change:

%Disk%:\usr\local\mysql\bin\mysqladmin.exe --character-sets-dir="/usr/local/mysql/share/charsets/" --user=root --password=root shutdown

To:

%Disk%:\usr\local\mysql\bin\mysqladmin.exe --character-sets-dir="/usr/local/mysql/share/charsets/" --port=3308 --user=root --password=root shutdown

 

5) Rename Apache file

From:

\udrive\usr\local\apache2\bin\Apache.exe

to:

\udrive\usr\local\apache2\bin\Apache_new.exe

 

Note: Apache_new can be any name however it must be unique

 

6) Edit file: Stop.bat

Change:

udrive\home\admin\program\pskill.exe Apache.exe c

To:

udrive\home\admin\program\pskill.exe Apache_new.exe c

 

7) Edit file: Server_Start.bat

 

Replace two occurrences (lines 13 and 28) of Apache.exe with Apache_new.exe

 

Replace line:

if "%Disk%"=="" set Disk=w

With:

if "%Disk%"=="" set Disk=z

 

That’s it you can run this alongside the original US 3.5 and any mini-servers.

 

Note: If you use phpMyBackupPro click the configuration link

 

Change MySQL hostname*

From:

localhost

To:

localhost:3308

 

All the best

Ric :D

  • 2 weeks later...

thank you soooooooooooooooooooooooooooooooo much this is a life saver :D B)

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

  • 3 weeks later...

Hi REFFER,

I think the community can rightly place the blame at your doorstep for 3.6 Its just been published, hope it meets your requirements.

 

All the best

Ric :D

Please note, check the Wiki for details regarding 3.6 it’s an unofficial upgrade of 3.5 Consolidates bug fixes, in addition will save you the trouble of upgrading Apache, MySQL and other components separately (ref mini-servers).

 

Contains a little bit of extra functionality in that it integrates SSL, this you may find useful if you require a personal secure server.

 

All the best

Ric :D

  • 2 months later...

With the release of 4.0-Mona the disappearance of 3.6-Apollo from the Wiki I can now explain.

 

It was pulled from the Wiki and dismantled; the better ideas and functionality are integrated into Mona along with additional features. The Apollo update would have led to confusion and an impossible task to maintain if left on the Wiki.

 

Mona has the great advantage in that it has been fully tested and ripped apart by the beta team. The design team have addressed all problems found hence it should be an excellent piece of kit. Mona has a very small footprint while retaining maximum functionality making it ideal as a test, teaching and production server.

 

All the best

Ric :)

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.