A fix for problem with FreeBSD php pcre &
qmail installation
Few weeks ago I came around a problem with the php installed on my
FreeBSD box seems like a shitty error occured when I tried to
install squirrelmail as well as joomla. The following Warning
message showed up every time I tried to access some of the scripts
of the aforementioned ones.
"[Thu Jun 11 20:39:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: preg_replace() [function.preg-replace]: Internal pcre_fullinfo() error -3 in somefile.php on line 169
[Thu Jun 11 20:39:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: preg_match() [function.preg-replace]: Internal pcre_fullinfo() error -3 in somefile.php on line 275
"
I looked for a solution and it seemed the solution was as simple as
adding "-with-pcre-regex=yes" to the Makefile of
/usr/ports/lang/php5 a recompile and hooray pcre works correctly!
Another problem I faced was with a qmail+vpopmail installation
which seemed not to recognize the existence of some email addresses
in the vpopmail installation. The cause for that was that my
/var/qmail/control/locals was containing the name contained also in
/var/qmail/control/virtualdomains. Simply removing the domain from
locals and restarting qmail did the trick. Apart from all that I
remembered an interesting website which you might find interesting
to visit, a video from it was suggested by Sha'nar (Hope he had a
safe journey to God).
Here is
thewebsiteisdown itself. Yes this days I'm mostly bored and in
a spiritual roaming ... Anyways thanks and glory be to God for his
mercies on me.