6.4-STABLE and PHP5 pcre and phpsysinfo

Henri Hennebert hlh at restart.be
Sun Apr 19 09:39:29 UTC 2009


xer wrote:
> Hello
> Mine 6.4-STABLE today has a strange problem regarding "phpsysinfo" that i use it.
> 
> Ports are updated,but phpsysinfo (on browser) today show errors about pcre:
> 
> 
> -----------------------
> Notice:  Undefined offset:  3 in /usr/local/www/data-dist/phpsysinfo/includes/os/class.FreeBSD.inc.php on line 59
> 
> 
> ^ a lots
> 
> Warning:  preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/data-dist/phpsysinfo/includes/os/class.BSD.common.inc.php on line 126
> 
> 
> ^ a lots
> 
> Warning:  asort() expects parameter 1 to be array, boolean given in /usr/local/www/data-dist/phpsysinfo/includes/os/class.BSD.common.inc.php on line 174
> 
> 
> ^ a lots
> 
> 
> Warning:  preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/data-dist/phpsysinfo/includes/os/class.BSD.common.inc.php on line 187
> 
> 
> ^ a lots
> 
> XPath error in XPath.class.php:3492 Expression failed to parse as PrimaryExpr because: Expression is not a PrimaryExpr
> XPath error in XPath.class.php:5903 The supplied xPath
> '/phpsysinfo/Vitals/Distro' does not *uniquely* describe a node in the
> xml document.Not unique xpath-query, matched 0-times.
> 
> 
> and more...
> --------------------
> It seems that the FreeBSD patch does not work so well, someone use phpsysinfo?
> 
> I did deinstalled php5 and 1.3 extension and reinstalled as expected.. but no resolve.

Contrary to /usr/ports/UPDATING - entry 20081211, base php5 (5.2.9) 
don't contains pcre. You simply have to add /usr/ports/devel/php5-pcre. 
All will be OK.

Henri

> Any help please?
> Thanx in advance.
> 
> _________________________________________________________________
> Quante ne sai? Scoprilo con CrossWire!
> http://clk.atdmt.com/GBL/go/140630367/direct/01/_______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list