Re: include_path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 6, 2009 at 4:21 PM, Eric Lease Morgan <emorgan@xxxxxx> wrote:

>
> On 3/6/09 4:19 PM, "9el" <lenin@xxxxxxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux