Portsnap snapshot corrupt

ថ្ងៃ​នេះខ្ញុំ​​មាន​បញ្ហា​ជាមួយ​ portsnap លើ​ FreeBSD ស៊ើវើ។ ពេល​ខ្ញុំ​រត់​ខំម៉ាន​ portsnap fetch upate មាន​ពត៌មាន​ដូច​នេះ តាម​ប្លក់នេះ របៀប​ជួសជុល​វា មិន​ពិបាកទេ។ Source: http://neonpulse.net/2008/11/20/portsnap-corrupt-snapshot/

October 7, 2013 · 1 min · 15 words · kenno

FreeBSD configure: error: XML::Parser perl module is required for intltool

If you get this error message on a FreeBSD host, you may need to reinstall p5-XML-Parser.

July 24, 2013 · 1 min · 16 words · kenno

PHP Fatal error: Call to undefined function utf8_decode()

This occurs on a FreeBSD server. According to this post[1], I need to install php5-xmlphp5-xml. [1] http://hi.baidu.com/ericyangbj/item/8289a32771e4171d09750856

December 25, 2012 · 1 min · 17 words · kenno

FreeBSD: Fatal error: Call to undefined function session_name()

I just setup Apache and PHP on FreeBSD 9, configured a vhost, then when I tried to access it, I got the following error: Fatal error: Call to undefined function session_name() in /srv/www/sugaku.domain.com/inc/init.php on line 144 so apparently, the “session” support is missiong from php5 installation. To fix it, I need to install php5-session port. Let’s do it. # whereis php5-session<br /> php5-session: /usr/ports/www/php5-session<br /> portmaster www/php5-session If the installation is successful, then we can restart apache. ...

December 25, 2012 · 1 min · 89 words · kenno

FreeBSD: How to check version of installed packages

# pkg_version -v Running pkg_version -v could take a while. If we only want a quick look: # pkg_info -xI If we want to see if some packages are out of date: # pkg_version -v -X -s And to check all out of date packages: # pkg_version -vL "="

August 1, 2012 · 1 min · 49 words · kenno