alorel / alo-wamp
A self-updating WAMP stack with the latest binaries, always.
Installs: 150
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:HTML
Type:project
This package is not auto-updated.
Last update: 2022-02-01 12:47:38 UTC
README
What is this?
AloWAMP is, well, a functioning web-server for Windows machines. It has a Windows Memcache port as well as:
- An automatically updatable PHP installer
- Automatically updatable MySQL installer
- Automatically updatable Apache HTTPD installer
- Automatically updatable Redis installer
- An old, but functioning Windows port for Memcache
Table of Contents
Why Should I Use This Wamp Stack
- Range of products. Most WAMPs will only offer PHP, Apache and MySQL while AloWAMP also gives you Memcache and Redis.
- Most up-to date binaries, always. It's easy to update to a new version of a binary from within AloWAMP (be sure to actually switch to it afterwards); most WAMPs only offer pre-installed versions and take ages to update them.
Requirements
- Visual C++ Redistributable for Visual Studio 2012 (VC11)
- This is a required installation to use PHP. Only the 32-bit version is required for AloWAMP, but, if you have a 64-bit machine, I would recommend installing the 64-bit version too as you might need it in future.
- For apache you'll need VC14
Setup
Simply run setup.bat and it will handle everything for you. Any batch file should be run with admin privileges. CLI walkthrough: https://gist.github.com/Alorel/6d9032469576108dcb0a
^TOC
Files
You should only need to care about three directories:
- logs, once installed, contain all the, you've guessed it, logs.
- wamp contains the batch files that control services, versions etc
- www is where you'll be placing your project files
^TOC
Controlling Services
Simply use the appropriate start/restart/stop/uninstall batch files.
^TOC
Changelog
See changelog.md
^TOC
FAQ
The installer fails to install services
This can only be caused by running the batch files without admin permissions. Run the reset installation.bat file and try running it via right click:
or by running cmd as admin, navigating to where you have AloWAMP installed and running setup manually, for example (the example assumes you have AloWAMP source unzipped to C:\Program files\AloWAMP):
C:\
cd "Program Files\AloWAMP"
setup.bat
^TOC
How do you update your binaries?
I simply get the page HTML via cURL, parse it and produce links. The installer then downloads them and performs the required setup. The downside of this, of course, is that changes in the pages' HTML can make downloads impossible, in which case simply report an issue and it'll get fixed.
^TOC
Where do you get your binaries?
Memcache is hosted on this repository while everything else is fetched from the official websites.
^TOC
Which versions do you use?
To keep everything nice and available, all versions are 32-bit and PHP versions are thread-safe. The only exception is Redis, which is only available for 64-bit processors.
^TOC