On 6/14/07, David CHANIAL <david.ml@xxxxxxxxxxx> wrote:
Hi (sorry for my bad english), It's descibed at http://fr3.php.net/manual/en/function.simplexml-element-xpath.php that SimpleXMLElement->xpath() is avaiable on php-5.2.0 at least. But, in fact, on one of my box with php-5.1.6-pl11-gentoo, libxml2-2.6.27, libxslt-1.1.17.... xpath() is running... But, and that it's my problem. On another box, with the SAME versions, xpath is rejected as an unexisting function... Please help me. Best regards, -- David
Did you check phpinfo() if SimpeXML support is built in, and you don't have a version compiled with --disable-simplexml? If it's enabled, did you check if other SimpleXML functions work fine? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php