Skip to content

WAMP Custom Install

Created a special installation file to install Apache v2.4.59, MariaDB v10.11.7 and PHP v8.2.17 to Windows x86_64. My goals were to build this in a simplistic form by using scripts to run the services instead of running it as a native Background process upon starting the OS. Also, upgrading to a new version of PHP, apache and Mariadb would be fairly straightforward. one has to copy the binary files for each of the respective software along with replacing its dll files to the location in C:\wamp\php, C:\wamp\httpd\, C:\wamp\mariadb. The only item to preserve for each of the WAMP software is the CONFIG files.

You can install it using the NSIS exe installer and take all the defaults. it wont work if you plan on installing the software anywhere but C:\wamp . None of the config files can dynamically be altered during installation when using either installation method. You can certainly install it elsewhere but you must configure each of the {my.ini, php.ini, httpd.conf} config files to reflect upon your environment. I've taken all of the default settings in all of the config files with some changes to PATHs.

For the secondary install approach, Simply extract the wamp*.7z file to your C-Drive. There is a README file on how to get things started in your environment C:\wamp\README . We recommend anyone should take advantage of the building scripts to run both Apache 2.4.59 and mariadb 10.11.7.

There was an issue with Apache Apache HTTP Server 2.4 vulnerabilities - The Apache HTTP Server Project , Updated the overall package with the new HTTPD 2.4.59.

Default installation locations:

C:\wamp
C:\wamp\php
C:\wamp\httpd
C:\wamp\mariadb

Scripts for apache
C:\wamp\httpd\apache_start.cmd
C:\wamp\httpd\apache_stop.cmd

Scripts for mariadb
C:\wamp\mariadb\mariadb_start.cmd
C:\wamp\mariadb\mariadb_stop.cmd

There is no script I've made for PHP. You have to create a bat file or set the windows Environmental variable to activate the php.exe whenever you are firing up your CMD.

You must first run the initialize_Db.cmd to build the default MariaDB tables. There is no root password after the initial DBs have been build. You must then need to find a SQL statement to alter the root password and locate a second SQL statement to add another root-like user to your DB environment.

Download from here:

https://drive.google.com/drive/folders/1dHgD8cLJNa6py2boWUeIAzWCszniT_27?usp=drive_link

Leave a Reply

Your email address will not be published. Required fields are marked *