🪟 Windows Installation Guide
This guide covers the manual installation of ABCD 3.1+ on Windows using a standard WAMP stack (Windows, Apache, MySQL, PHP).
1. Prepare the Environment (WAMP)​
Since ABCD is a web application, you need a web server environment. We recommend XAMPP or WampServer.
- Download and install XAMPP (recommended PHP 8.x version).
- Install it in the default location (usually
C:\xampp). - Open the XAMPP Control Panel but do not start the services yet.
2. Download and Extract ABCD​
- Download the latest ZIP release from the ABCD Releases Page.
- Extract the ZIP file directly to your C: drive root to keep paths short.
Recommended Directory Structure​
After extraction, ensure you have the following structure. We will use C:/ABCD/ as our base for this guide.
C:\ABCD\www\htdocs(Web application files)C:\ABCD\www\bases(Database files)C:\ABCD\www\cgi-bin(Executables)
Cleanup
The package might contain multiple cgi-bin folders.
- Rename
cgi-bin_Windowstocgi-bin. - Delete
cgi-bin_Linux.
3. Initial Configuration (config.php)​
You must activate the main configuration file.
- Navigate to
C:\ABCD\www\htdocs\central\. - Duplicate the file
config.php.template. - Rename the copy to
config.php.
4. Configure PHP (php.ini)​
ABCD requires specific extensions.
- Open the XAMPP Control Panel.
- Click Config next to Apache and select PHP (php.ini).
- Search for and uncomment (remove the
;at the start) the following lines:
extension=curl
extension=gd
extension=mbstring
extension=mysqli
extension=openssl
extension=soap
extension=xml
extension=zip
- Save and close the file.
5. Configure Apache (httpd.conf)​
We need to enable CGI execution and URL rewriting.
- In XAMPP Control Panel, click Config next to Apache and select Apache (httpd.conf).
- Ensure the following modules are uncommented (active):
LoadModule cgi_module modules/mod_cgi.so
LoadModule rewrite_module modules/mod_rewrite.so
Virtual Host Integration​
Instead of editing the main config file, we will tell Apache to load the ABCD configuration.
- Scroll to the very end of
httpd.conf. - Add the following line:
# Load ABCD Configuration
Include "C:/ABCD/www/vhost_abcd.conf"
- Save and close
httpd.conf.
6. Create the Virtual Host File​
Now create the file we just referenced.
- Create a new text file at
C:\ABCD\www\vhost_abcd.conf. - Paste the following content (derived from the official template):
# Define the Port (Standard for ABCD is 9090)
Define ABCD_PORT 9090
# Listen on this port
Listen ${ABCD_PORT}
<VirtualHost *:${ABCD_PORT}>
ServerName localhost
ServerAdmin webmaster@localhost
# --- PATH DEFINITIONS ---
# Adjust this if you installed ABCD elsewhere
Define ABCD_ROOT "C:/ABCD/www"
DocumentRoot "${ABCD_ROOT}/htdocs"
# --- MAIN DIRECTORY PERMISSIONS ---
<Directory "${ABCD_ROOT}">
Options +Indexes -FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# --- CGI-BIN CONFIGURATION ---
ScriptAlias /cgi-bin/ "${ABCD_ROOT}/cgi-bin/"
<Directory "${ABCD_ROOT}/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .cgi
AddHandler cgi-script .exe
Require all granted
</Directory>
# --- BASES ALIAS (For Images/PDFs) ---
Alias /docs/ "${ABCD_ROOT}/bases/"
<Directory "${ABCD_ROOT}/bases/">
Options -Indexes -FollowSymLinks +MultiViews
AllowOverride None
Require all granted
</Directory>
# --- LOGGING ---
ErrorLog "logs/abcd_error.log"
CustomLog "logs/abcd_access.log" combined
</VirtualHost>
7. Start and Test​
- In XAMPP, click Start next to Apache.
- Watch the log window for errors. If it turns green, you are good.
- Open your browser and go to:
http://localhost:9090/admin
Login Credentials:
- Username:
abcd - Password:
adm
Security
Change the default password immediately after the first login in the Users module.