Gracefully Restart Nginx Web Server After Changes Made In a Config File

Posted on in Categories , , last updated December 6, 2012

I know how to gracefully restart Apache web server under Unix like operating system. I made changes to nginx.conf. How do I gracefully restart Nginx web server? How do I make changes in a Nginx server config file to take effect without restarting the Nginx server itself without interrupting users’ current session?

Mediawiki PHP Fatal error: Cannot redeclare wfProfileIn() Error and Solution

Posted on in Categories , last updated December 26, 2011

I‘m running the Mediawiki software under Apache web server running on the Unix operating systems. I’m getting the following in my php error log:

PHP Fatal error: Cannot redeclare wfProfileIn() (previously declared in /var/www/html/wiki/includes/profiler/Profiler.php:14) in /var/www/html/wiki/includes/ProfilerStub.php on line 25.

How do I fix this problem under Mediawiki version 1.18.0?

HowTo: Merge Apache / Lighttpd / Nginx Server Log Files

Posted on in Categories , , last updated February 23, 2011

My ecommerce site runs using a cluster of Apache web server. The cluster is behind nginx load balancer. I want to merge backend Apache web server log files for statistics purpose. How do I mere web server log files under Linux / UNIX like operating systems using cron jobs?
Continue reading “HowTo: Merge Apache / Lighttpd / Nginx Server Log Files”