==== XAMPP ====
=== Installation ===
* Download from [[https://www.apachefriends.org/index.html]]
* Install e.g. in c:\xampp72
=== 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:
*
ServerName holebifilm-intra2015
DocumentRoot "c:/users/gielen/internet/holebifilm-intra2015"
SetEnv APPLICATION_ENV "development"
DirectoryIndex index.php index.html
AllowOverride All
Order allow,deny
Allow from all
Require all granted
* Note: Apache 2.4 needs Require, i.o. Allow from all, see http://httpd.apache.org/docs/2.4/upgrading.html#access and http://stackoverflow.com/questions/18392741/apache2-ah01630-client-denied-by-server-configuration
* 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
* add following line to my.ini under [mysqld] to ensure case sensitivity on Windows systems, see https://mariadb.com/kb/en/library/identifier-case-sensitivity/ and https://karthicraghupathi.com/2013/06/14/force-mysql-to-be-case-sensitive-in-windows/ lower_case_table_names=2
=== Debugging ===
* Apache: check error.log. If that doesn't help, issue following commands in Command Prompt:
* cd \xampp72\apache\bin
httpd