Resolving permissions
| From: | Alan McFarlane | Date: | Tue, 03 Sep 2002 00:09:36 +0000 |
| Subject: | Resolving permissions | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5914@lists.php.net to get a copy of this message | ||
This is probably slightly off-topic but...
I have a unix machine running Apache/PHP/Smarty. Smarty is installed outside
of the main ServerRoot path (I installed it in /usr/local/lib/smarty, and
made sure that php.ini's include_path has been modified to suit.
Now, although I can create a smarty object, smarty is unable to 'stat' the
plugins. I presume this is because of a file permission error.
Apache runs in standalone mode being started by root but changes to user:
wwwrun, group: nogroup.
PHP scripts therefore run as wwwrun:nogroup?
So how do I set the appropriate file permissions?
--
Alan