From owner-freebsd-questions@FreeBSD.ORG Mon Apr 6 20:16:05 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 B702210660F5 for ; Mon, 6 Apr 2009 20:16:05 +0000 (UTC) (envelope-from listmail@websage.ca) Received: from herbert.sohotech.ca (herbert.sohotech.ca [216.86.96.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA188FC12 for ; Mon, 6 Apr 2009 20:16:05 +0000 (UTC) (envelope-from listmail@websage.ca) Received: from localhost (localhost.sohotech.ca [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id 8DD72358C22 for ; Mon, 6 Apr 2009 12:58:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at sohotech.ca Received: from herbert.sohotech.ca ([127.0.0.1]) by localhost (herbert.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gvKyfW4ADAo8 for ; Mon, 6 Apr 2009 12:57:54 -0700 (PDT) Received: from niven.sohotech.ca (S0106000475c7bc77.gv.shawcable.net [96.50.76.138]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by herbert.sohotech.ca (Postfix) with ESMTPSA id 8C4DA358C20 for ; Mon, 6 Apr 2009 12:57:54 -0700 (PDT) Date: Mon, 6 Apr 2009 12:57:52 -0700 From: listmail@websage.ca To: freebsd-questions@freebsd.org Message-ID: <20090406125752.3e303670@niven.sohotech.ca> In-Reply-To: <001636456e3838a1e40466e7b0c1@google.com> References: <001636456e3838a1e40466e7b0c1@google.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.4; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:16:08 -0000 On Mon, 06 Apr 2009 19:13:06 +0000 af300wsm@gmail.com 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? > cd /usr/ports/devel/php5-spl make install clean HTH, GM