From owner-freebsd-questions@FreeBSD.ORG Mon Apr 6 20:26:33 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 3D2321065848 for ; Mon, 6 Apr 2009 20:26:33 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id E92E58FC15 for ; Mon, 6 Apr 2009 20:26:32 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so1454881ywh.13 for ; Mon, 06 Apr 2009 13:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8Pt7lw5Mxy5tkoZkYY73gpSCZ3pEH2asPpyI0dWHjrw=; b=DQRn0t5ADdm9TD443tHQqiTO2Eiphod+caYgcMey46boxf4Z7T7h48Obxn2tcnHDpu JzbMRC6LLGSgKYlJpkAmP43nMIdKhyKuZjlVCjUUyUN53Xsmt6/X9yiESRyncKyBDb2g letXYcl6V+HYOZGEvO/nVj2WlttYr85c/h6xI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hOv9SVaYphDChzwvSX0RuHmnqZ9MQ/Gs8pDF3o2S7/y7aIEInORBEE1orz5RTGTMg9 4PLZi9ujH54oYmlphDBKoI+fykAjXZZ7v/kOzA2unXkcJV3Y4SbmjYOwGDH5sUNpgJMr YM5MqMkHowoJiBoz32rsjI9OwztPMOFvYWT9M= MIME-Version: 1.0 In-Reply-To: <001636456e3838a1e40466e7b0c1@google.com> References: <001636456e3838a1e40466e7b0c1@google.com> Date: Mon, 6 Apr 2009 16:04:21 -0400 Received: by 10.90.78.15 with SMTP id a15mr3309210agb.64.1239048277164; Mon, 06 Apr 2009 13:04:37 -0700 (PDT) Message-ID: <26ddd1750904061304v60074db1m104350779825550d@mail.gmail.com> From: Maxim Khitrov To: af300wsm@gmail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: where is spl_autoload found 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: Mon, 06 Apr 2009 20:26:34 -0000 On Mon, Apr 6, 2009 at 3:13 PM, wrote: > Hi, > > I saw Zend in the ports and so I'm hoping that some here use it and can help > me with this one. I've installed the latest stable Zend, which is a little > newer than what I found in ports, and I'm running PHP version 5.2.8 (which I > did install from ports). I'm going through the Zend QuickStart guide > (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), > and ran into this error when loading the page at this point of the quick > start; > > Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload > does not exist in this PHP installation' in > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack > trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): > Zend_Loader::registerAutoload() #1 {main} thrown in > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 > > I've searched through the ports looking for auto and load in php5 modules > and I've found nothing (I did my searching at freshports.org). I then did a > make config in the /usr/ports/lang/php5 directory but didn't see a check box > for spl_autoload in the options. How do I get this installed in my PHP > installation? devel/php5-spl - Max