How to Disallow or Rate Limit Web Server Mail in Exim
Recently one of the apache webserver’s vhost was compromise and allow spammer to use the script to perform massive outgoing email spam. As usual, due to un-patch WordPress’s engine from a user on the web server. Ended up the “hacker”…
Symfony lib-icu 4.4 Error on CentOS
Having problem to install symfony on CentOS due to the lib-icu 4.4 error. When running “php composer.phar install”, the error below pops up. # php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file…
Perl, Trim White Space from a String
When we grep a bunch of string, there are white spaces where we wish to trim, especially the white space at the beginning and the end of a string. There is no trim function in Perl like trim in PHP….
Upgrade to php52 on FreeBSD
By default, after portsnap to latest FreeBSD port tree, it will upgrade your php5.2 to php5.3 automatically. There isn’t any option where you can to remain your PHP version to 5.2. In order to keep my PHP applications running on…
Disable phpinfo() on Apache Web Server
Information displays from phpinfo() may provide resourceful information to attacker, such as file patch, web server environment, php modules, web server modules and etc. It’s better to disable phpinfo() function on your webserver.