Cheat Sheet

View Hidden Files and Folders from:

 

windows: dir /a

 

linux: ls -a

Remove a folder cmd:

 

rmdir /s /q "C:\xampp\htdocs\[folder_name]"

View PhpInfo from CMD:


php -i

or

php -r "phpinfo();"

Create an Empty File (.htaccess) CMD:


echo.>.htaccess

Per Site Config Chnges in .htaccess


Add the following to .htaccess:
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

Source: StackOverflow

Creating a User for MySQl on only 1 Schema

grant all on schema.* to 'username'@localhost identified by 'password';

Comments in .htaccess

Use a #