php-cgi suphp for user permissions

ranz

Verified User
Joined
Apr 8, 2010
Messages
310
Location
Australia
Hi all,

I was after some suggestions/opinions.

I have custombuild on Debian 5.0.3

I have some clients who dabble with Joomla - and are giving me problems related to file permissions.

Does custombuild automatically install php-cgi and suphp?

If so, why would users be having problems with scripts permissions (other than CHMOD 777)?

If not, how do I do it for Debian? What do I need to be aware of if I do it? (will it break existing sites?)

Am I barking up the wrong tree? Are these php file permission issues related to something entirely different? (don't say CHMOD 777).

TIA.
 
I've told it many times on this forum: Install mod_ruid and you don't have the problem anymore.

http://directadmin.com/forum/showpost.php?p=185313&postcount=12
http://directadmin.com/forum/showpost.php?p=185826&postcount=14

You have this problem because Joomla runs currently under the user 'apache', since the files are owned by the user Joomla required to have read/write permission so files must be 666 and dirs 777. With mod_ruid Joomla runs under the user and not under 'apache' anymore, so you don't need to chmod.
 
Custombuild will do it. You just have to edit the options file and rebuild php. DA does not build it as cgi by default.
 
Back
Top