XAMMP set up - Notes

XAMMP set up

php.ini

display_errors = Off

error_reporting = E_ALL & ~E_NOTICE

 

httpd.conf

LoadModule expires_module modules/mod_expires.so

LoadModule deflate_module modules/mod_deflate.so

httpd-vhosts.conf

just copy all configures from old files

<VirtualHost *:80>
DocumentRoot "C:/www/yf/"
ServerName yf.lawrence
ServerAlias www.yf.lawrence
ErrorLog "C:/www/yf/error_log.txt"
CustomLog "C:/www/yf/access_log.txt" common
php_value error_log "C:/www/yf/php_error_log.txt"

<Directory "C:/www/yf/">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

httpd-xampp.conf

comment out Deny from All

PhpMyAdmin config

To allow remote user access

\xampp\phpMyAdmin/config.inc.php

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = 'en';

 

XAMMP set up