Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2009 22:23:28 +0000
From:      af300wsm@gmail.com
To:        Maxim Khitrov <mkhitrov@gmail.com>, af300wsm@gmail.com,  Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Re: where is spl_autoload found in PHP
Message-ID:  <00163646d5f0ab65bd04671294fa@google.com>
In-Reply-To: <26ddd1750904061304v60074db1m104350779825550d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 6, 2009 2:04pm, Maxim Khitrov <mkhitrov@gmail.com> wrote:
> On Mon, Apr 6, 2009 at 3:13 PM, 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?



> devel/php5-spl




Thank you very much. I'm not sure I'd have found that too easily.

Andy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00163646d5f0ab65bd04671294fa>