Prev: issues using printf
Next: Mutt: unable to attach file
From: JRough on 14 Jan 2010 19:49 Question on adding Smarty.class.php to my php include_path. This does not seem to work. I try hitting a test smarty_test.php in my htdocs root and it can't find the file. include_path=".:/usr/lib/php:/usr/lib/php/Smarty-2.6.26/libs/" this is my /usr/lib/php directory: dr-xr-xr-x 5 root wheel 170 Jan 14 16:32 . drwxr-xr-x 405 root wheel 13770 Dec 29 16:15 .. drwxrwxr-x 14 1003 staff 476 Jun 18 2009 Smarty-2.6.26 dr-xr-xr-x 13 root wheel 442 Jun 22 2009 build drwxr-xr-x 3 root wheel 102 Oct 2 2008 extensions I tried it include_path=".:/usr/lib/php/Smart-2.6.26/libs/" and that doesn't work either. I tried turning Apache on and off as well. thanks,
From: JRough on 14 Jan 2010 22:40 On Jan 14, 4:49 pm, JRough <jlro...(a)yahoo.com> wrote: > Question on adding Smarty.class.php to my php include_path. This does > not seem to work. > I try hitting a test smarty_test.php in my htdocs root and it can't > find the file. > > include_path=".:/usr/lib/php:/usr/lib/php/Smarty-2.6.26/libs/" > > this is my /usr/lib/php directory: > dr-xr-xr-x 5 root wheel 170 Jan 14 16:32 . > drwxr-xr-x 405 root wheel 13770 Dec 29 16:15 .. > drwxrwxr-x 14 1003 staff 476 Jun 18 2009 Smarty-2.6.26 > dr-xr-xr-x 13 root wheel 442 Jun 22 2009 build > drwxr-xr-x 3 root wheel 102 Oct 2 2008 extensions > I tried it > include_path=".:/usr/lib/php/Smart-2.6.26/libs/" and that doesn't > work either. > > I tried turning Apache on and off as well. > thanks, I think I found the probelm sorry.
|
Pages: 1 Prev: issues using printf Next: Mutt: unable to attach file |