note 29112 added to tutorial.firstpage

From: Date: Mon, 03 Feb 2003 08:18:02 +0000
Subject: note 29112 added to tutorial.firstpage
Groups: php.notes 
Request: Send a blank email to php-notes+get-43316@lists.php.net to get a copy of this message
Note on permissions of php files: You don't have to use 'chmod 0755' under UNIX or Linux; the permissions need not be set to executable. Again, this is more like a html file than a cgi script. The only mandatory requirement is that the web server process has read access to the php file(s). With many Linux systems, it is popular for Apache to run under the 'apache' account. Given that HTML and other web files, like php, are often owned by user 'root' and group 'web' (or another similar group name), acceptable permissions might be those achieved with 'chmod 664' or 'chmod 644'. The web server process, running under the 'apache' account, will inherit read only permissions. The 'apache' account is not root and is not a member of the 'web' group, so the "other" portion of the permissions (the last "4") applies. -- http://www.php.net/manual/en/tutorial.firstpage.php http://master.php.net/manage/user-notes.php?action=edit+29112 http://master.php.net/manage/user-notes.php?action=delete+29112 http://master.php.net/manage/user-notes.php?action=reject+29112

« previous php.notes (#43316) next »