Archive for May, 2006

PHP stops suddenly on FreeBSD after restart

Sunday, May 14th, 2006

If you are a happy sysadmin of a FreeBSD machine with apache+php installed, watch out these days! After the new PHP 5.1.4 update last week, one of the servers was not restarted. When it was, Apache kindly served PHP as plain text!

Fortunately, Babak was around to “make config” apache and make world a better place to live.

I found a forum thread with more details here.

WP admin referrer check

Sunday, May 14th, 2006

Well, first of all I have to mention that the admin referrer check in Word Press sucks. WordPress is the open-source and free blogging software that I am using for this blog. Admin referrer check is a mechanism it uses for tracking admin usre. Better security must have been the case. My problem was that I could not turn reffer sending on. So? I could not even activate the SN4WP plugin.

What did I do? Opened “wp-includes/pluggable-functions.php”, found function check_admin_referer() and:

//die(__(‘Sorry, you need to enable sending referrers for this feature to work.’));

Will think about it tomorrow. I am not sure it is a good method.

Recent Posts