From owner-freebsd-questions@FreeBSD.ORG Sun Mar 15 13:20:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA131106570C for ; Sun, 15 Mar 2009 13:20:50 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 951808FC15 for ; Sun, 15 Mar 2009 13:20:50 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id 016B99BEF9 for ; Sun, 15 Mar 2009 06:00:34 -0700 (PDT) Received: from [192.168.2.3] (unknown [192.168.2.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 1AD31164E5C for ; Sun, 15 Mar 2009 06:03:21 -0700 (PDT) Message-ID: <49BCFC98.3010602@mykitchentable.net> Date: Sun, 15 Mar 2009 06:03:20 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.19 (X11/20090122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: What Is Needed For SimpleXML Support in PHP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 13:20:51 -0000 I have php5-5.2.9 installed on my FBSD 6.3 system. I am attempting to use a php script that fails with: Call to undefined function simplexml_load_string() Googling suggests that this function is part of the PHP software and is installed by default unless built with the "--disable-simplexml" configure option. On my system, almost everything including PHP has been installed using portupgrade. I searched the ports and found one named php5-simplexml so I installed it and tried the script again. It still failed with the same error. More Googling and I found that "php -m" will show which modules are available. Here's that output: blacklamb> php -m [PHP Modules] ... SimpleXML ... Thus it appears that SimpleXML is available. Can anyone tell me what I'm missing? I'm lost. Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com