Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 11:39:24 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        xer <xernet@hotmail.it>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 6.4-STABLE and PHP5 pcre and phpsysinfo
Message-ID:  <49EAF14C.8030908@restart.be>
In-Reply-To: <BAY126-W4996FF869828FA9204A8C3A3790@phx.gbl>
References:  <20090415120024.0E20A1065706@hub.freebsd.org> <BAY126-W4996FF869828FA9204A8C3A3790@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EAF14C.8030908>