Re: include_path
| From: | Bastien Koert | Date: | Fri, 06 Mar 2009 21:31:14 +0000 |
| Subject: | Re: include_path | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289492@lists.php.net to get a copy of this message | ||
On Fri, Mar 6, 2009 at 4:21 PM, Eric Lease Morgan <emorgan@nd.edu> wrote:
>
> On 3/6/09 4:19 PM, "9el" <lenin@phpxperts.net> wrote:
>
> >> Ironically, Smarty/Smarty.class.php IS located under /usr/lib/php. So is
> >> PEAR.php.
> >
> > /usr/lib/php is not in the default scope of webroot ie. /var/www :)
> > You have to allow apache to access /usr/lib/php location
>
> Thank you for the prompt reply, and it seems very feasible, but how do I
> allow apache access to the /usr/lib/php locatdion?
>
> --
> Eric Lease Morgan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
If the SMARTY call is the same to the same path, should it not be
require_once("Smarty.class.php");
and not
require_once("Smarty/Smarty.class.php");
--
Bastien
Cat, the other other white meat