≡ Menu

restart lighttpd

mod_extforward: Lighttpd Log Clients Real IP Behind Reverse Proxy / Load Balancer

I've setup 5 lighttpd web servers behind Nginx based reverse proxy / load balancer to distribute load for busy e-commerce website. However, all web server nodes putting my load balncers two IP address in access log file. How do I force lighttpd to log a real IP (public IP) address of all client computers visiting our website?
[click to continue…]

I've brand new Ubuntu Linux server (Apache + PHP5 FastCGI + Lighttpd image only server) installed for my wordpress, mediawiki and vBullietin software. I can load forntpage of all software but user cannot edit any wiki pages or post anything and I get the following error in log file:

PHP Fatal error: Allowed Memory Size of 20971520 Bytes exhausted (tried to allocate 131072 bytes) in /usr/share/mediawiki/includes/OutputHandler.php on line 81

How do I fix this problem?
[click to continue…]

Gracefully Restart Lighttpd Web Server

How do I restart my lighttpd+php fastcgi web server gracefully under Linux / UNIX operating systems?
[click to continue…]

FreeBSD: Install PHP xcache Opcode Cacher

Q. How do I install and configure xcache under FreeBSD operating systems for Apache, lighttpd or ngnix web server?
[click to continue…]

Start / Stop / Restart Lighttpd Web Server on Linux / Unix

I'm unable to find any command(s) to stop lighttpd web server. How do I stop / start / restart Lighttpd on Debian/Ubuntu Linux installed using apt-get command? How do I restart lighttpd on RHEL / CentOS installed using yum command? How do I restart lighttpd on FreeBSD Unix operating systems?
[click to continue…]

Tweaking php For Maximum Execution Time For Scripts

I've been trying to migrate my webblogs using WordPress inbuilt import facility. I've exported current blog as a xml file and downloaded to my desktop. Next I navigated to my new blog's admin area and clicked on Manage > Import. However import failed after importing 50-60% posts only.

I went through Apache and PHP log files and I realized that the script was timed out. How do I fix this problem under Linux / UNIX?
[click to continue…]