Re: [SMARTY] Install Smarty on Linux - Problem

From: Date: Fri, 08 Aug 2003 12:15:10 +0000
Subject: Re: [SMARTY] Install Smarty on Linux - Problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10014@lists.php.net to get a copy of this message
At 05:00 08.08.03 -0700, you wrote:
Yes it's showing all the php files
The file is there, but it belongs to root (though it's world readable), maybe the directory cannot be read by the webserver user, i.e. nobody. You should put the Smarty installation in a directory that's accessable by the webserver user (of course not above the web root). For example consider the following layout: web root: /usr/local/httpd/htdocs application root, which is owned by the web user / group: /usr/local/httpd/apps applications /usr/local/httpd/apps/smarty (ln -s Smarty-2.5.0 smarty, so you can always switch the version) /usr/local/httpd/apps/adodb /usr/local/httpd/apps/....whatever That way you don't have to put anything into a directory owned by root and chmod 777 so you can access the files. Martin.

« previous php.smarty.general (#10014) next »