Tag: securing

PHP, WEB

Securing php configuration for production mode

To follow the tips below you have to locate your php.ini file in your system and keep a backup first. A common place for php.ini file in linux is: /etc/php5/apache2/ 1. Enable safe mode Locate line: safe_mode = Off and change it to safe_mode = On By enabling safe_mode, PHP scripts are able to access …

Apache, Linux

Securing Apache Part 1

The following tips are things you can do to make your apache server more secure. Before you begin to follow the tips below, locate your apache’s configuration files first. Common places for apache’s configuration files are: /etc/apache2/apache2.conf, /etc/apache2/httpd.conf and /etc/apache2/sites-enabled/000-default. Before you make any changes, MAKE BACKUP COPIES OF YOUR FILES. Here we go: 1. …