Posts for July, 2005

Httpd Exited on Signal 11 – Caused by Buggy Script

July 31, 2005 Posted in Apache, PHP

My security run output of today contains lots of error messages like:
pid 90742 (httpd), uid 80: exited on signal 11
pid 90896 (httpd), uid 80: exited on signal 11
Read More

Keep Accurate Time with ntpd and ntpdate

July 30, 2005 Posted in Command & Utility

Obviously, keeping the server time accurate is very important. I should have done this before the server was public.

Adjust server time manually
# ntpdate pool.ntp.org Read More

Hide Apache and PHP Information in HTTP Headers

July 24, 2005 Posted in Apache

By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header. You can check it with a HTTP header tool. For example, the header of this blog:
Server: Apache/1.3.33 (Unix) PHP/4.3.11 Read More

RSS Feed

July 23, 2005 Posted in Misc

If you visit this Blog with FireFox, you can see an orange box in the right bottom corner, that means this site support RSS feed, you can subscribe a live bookmark by clicking on it. This is a built-in feature of Movabletype. Read More

PHP Debugging

July 22, 2005 Posted in PHP

When something strange happens to a third-party PHP script, I often have no idea where to start to fix the problems. I find PHP code debugging is an effective way even the error message may suggest a system configuration problem. Read More

SMTP May Not Be Necessary

July 21, 2005 Posted in Email

Postfix has been running on my servers for a few months, but I haven’t been able to make SMTP Auth work, as a result, I can’t send emails from my desktop. Finally I decided to finish the configuration by following the tutorial on postfix.org. But unfortunately, it didn’t work after the first try. Then, a simple idea came out: why not try other SMTP servers instead of configuring mine? The SMTP server (exim) on my VPS relays any outbound emails after authentication. Read More



Archives