Tag Archives: Installation

Manual WAMP stack

For future reference…

Apache

  1. Download Apache from Apache Lounge.
  2. Unpack and adjust httpd.conf as necessary (e.g. paths).
  3. Install as service.
    httpd.exe -k install
  4. Start the service.
  5. Verify that it works.

PHP

  1. Download Thread-Safe PHP from PHP.net.
  2. Unpack and add to path.
  3. Pick a php.ini and edit as necessary.
  4. In particular, uncomment the following:
    extension_dir = "ext"
  5. Add following to httpd.conf, and also adjust the DocumentRoot.
    LoadModule php7_module C:/php/php7apache2_4.dll
    <IfModule php7_module>
        DirectoryIndex index.html index.php
        AddHandler application/x-httpd-php .php
        PHPIniDir "C:/php"
    </IfModule>
  6. Add an index.php in your DocumentRoot.
    <?php phpinfo();
  7. Restart Apache, and verify that it works.

MariaDB

  1. Download from mariadb.org and install.
  2. Optionally add following to my.ini under mysqld section:
    bind-address=127.0.0.1

    general-log=1
    general-log-file=queries.log
    log-output=file

Composer

  1. Download Windows installer from getcomposer.org and install.