This is an old revision of the document!


XAMPP

Installation

Configuration

  • Apache > Config > httpd.conf
    • Listen – remove port 80 (used by other apps), add other ports, e.g.
    • Listen 81
      Listen 194
    • Enable appropriate LoadModules
    • Create VirtualHosts:
    • <VirtualHost *:194>
      ServerName holebifilm-intra2015
      DocumentRoot "c:/users/gielen/internet/holebifilm-intra2015"
      SetEnv APPLICATION_ENV "development"
      <Directory "c:/users/gielen/internet/holebifilm-intra2015/">
          DirectoryIndex index.php index.html
          AllowOverride All
          Order allow,deny
          Allow from all
          Require all granted
      </Directory>
      </VirtualHost>
    • Enable following modules (for Apache 2.4)
      • LoadModule deflate_module modules/mod_deflate.so
      • LoadModule filter_module modules/mod_filter.so
    • Update DocumentRoot
  • MySQL
    • Set root password: Open the shell from the XAMPP control pane and execute the following command to set the password to 'secret'
    • mysqladmin.exe -u root password secret

Debugging

  • Apache: check error.log. If that doesn't help, issue following commands in Command Prompt:
  • cd \xampp56\apache\bin
    httpd