in Blog, Unix

Fatal error: Call to undefined function gregoriantojd()

That error message show up when I try to install wordpress plugin. I think it must be plugin author false since I already have php date extension enabled but I’m wrong 🙂

Further search lead me to ‘calendar’ extension. Look no further to php5-calendar in my FreeBSD 7.3 box I install it.

cd /usr/ports/misc/php5-calendar && make install

stop php cgi prosess

/usr/local/etc/rc.d/ stop

start php cgi process

/usr/local/etc/rc.d/ start

check extension with phpinfo() function :

Great its on the list now. Refresh plugin install at wordpress and I’m back to business 🙂