After setting system time, I discovered that mysql and php services didn’t also update the timezone settings. Here’s how to make sure they also reflect the correct timezone. First locate all the php.ini files in /etc now edit these files and add the timezone info add this to the [Date] block: For mysqld portion, first… Continue reading Set Timezone for MYSQL / PHP
Tag: Apache2
Simple HTTP Basic Auth on Apache2
Say you want to create a simple password protected folder in order to share some sensitive documents or what have you. Using apache2 and HTTP Basic Auth, this can be accomplished in only a few commands. First, create a folder in your web directory. Then, you will want to setup the username/password you want to… Continue reading Simple HTTP Basic Auth on Apache2