From owner-freebsd-apache@FreeBSD.ORG Fri Sep 23 21:20:07 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C80416A420 for ; Fri, 23 Sep 2005 21:20:07 +0000 (GMT) (envelope-from pavneet.arora@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8068043D45 for ; Fri, 23 Sep 2005 21:20:05 +0000 (GMT) (envelope-from pavneet.arora@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so652295wxc for ; Fri, 23 Sep 2005 14:20:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:reply-to:organization:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding:from; b=gILJoKEgPs/oqgQNsfjTtKk2k/fi99sxR2enC+SA/ywHESiY4RKRVQi7yKA8t/dPfAkAXjqao7Egl2oMkeYcPmDjKyP6sEsh3z19X1k86TgEBmqGA0GsbxXC2BsgRRzcuYkkwbv75vpaPpQrtvr/Vs5yo36LTuSSm+Md+fAL51U= Received: by 10.70.43.3 with SMTP id q3mr1152253wxq; Fri, 23 Sep 2005 14:20:04 -0700 (PDT) Received: from ?192.168.0.13? ( [64.231.72.59]) by mx.gmail.com with ESMTP id i16sm648293wxd.2005.09.23.14.20.03; Fri, 23 Sep 2005 14:20:04 -0700 (PDT) Message-ID: <43347189.7010708@waroc.com> Date: Fri, 23 Sep 2005 17:20:09 -0400 Organization: Waroc Fine Audio + Custom Home Cinema User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Pavneet Arora Subject: Re: Having troubles with mod_php and expat X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pavneet_arora@waroc.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 21:20:07 -0000 Thanks to Clement for getting me on the right track. I feel foolish, but that isn't uncommon ;). It just takes that one bit of insight, doesn't it? The problem *really is* with the sugarcrm port. It should have a dependency listed for php4-xml, which it currently does not: sugarcrm-2.5.1b_1 A web based customer relationship management suite Maintained by: nick@foobar.org Also listed in: www Requires: apache-1.3.33_2, expat-1.95.8_3, fontconfig-2.2.3,1, freetype2-2.1.10_1, jpeg-6b_3, mysql-client-4.1.14, perl-5.8.7, php4-4.4.0, php4-gd-4.4.0, php4-mysql-4.4.0, php4-pcre-4.4.0, php4-session-4.4.0, pkgconfig-0.17.2, png-1.2.8_2, t1lib-5.1.0,1, xorg-libraries-6.8.2 I have forwarded the request to Nick Hilliard so I hope that it should be corrected shortly and help avoid this pain for the next person. Many thanks for your assistance. Cheers. Clement Laforet wrote: > On Fri, Sep 23, 2005 at 08:10:03AM -0400, Pavneet Arora wrote: > Hi, > >>Forgive me for this naive problem, but I have been scouring the archives >>and the net for some resonance that may point to a solution without success: >> >>I recently upgraded my FreeBSD 5.1 system to a FreeBSD 5.4 system. >>Along the way I used the port system to upgrade Perl (5.8.7), mod_perl >>(mod_perl2-2.0.1,2), PHP (4.4.0), mod_php (mod_php4-4.4.0,1), Apache >>(apache-2.0.54_4), expat (1.95.8_3), etc. >> >>Both Perl and PHP are loaded in httpd.conf as modules >> >>All of this was an effort to install the SugarCRM port, but this is >>incidental. >> >>The problem is quite simple... >> >>From php, I am unable to access any of the XML functions. So the >>following script: >> >> >>php test >> >> >>>if (function_exists('xml_parser_create')) { >> echo 'OK'; >>} >>else { >> echo 'Not Available'; >>} >>?> >> >> >> >>Yields "Not Available". I only offer this snippet since this is the >>test that SugarCRM tries on install and fails on. >> >>Your guidance would be gratefully accepted. > > > did you install textproc/php4-xml entension? > > clem -- ----- - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276)