Problem with permissions in public_html directory

fullmetalucard

Verified User
Joined
Jan 12, 2007
Messages
11
Hi there
I've encountered problems using php4 CGI + php5 CGI + suPHP.
Alle the compilation worked fine, php4 and 5 are recognized, when i load the test.php and test.php5 pages (as explained in the how-to done by maniak).
What pushed me to set up suPHP is the fact that each file uploaded in the public_html directory was owned by apache. It's now fixed, the uploaded files are owned directly by the user (admin), but the permissions aren't set well.

The fact is that we use joomla (as many people do) and when i install it with installatron (DA_plugin), most of the files get a 707 permission, which isn't good!
But when i upload the files with ftp mode, i get the good permissions (755) for all the files.

755 would be better...but i don't even know if this problem comes from apache or PHP. I've stricly followed maniak's how-to and activated force-cgi-redirect and fast-cgi to compile both PHP's .
In fact i've installed installatron after phph and suphp's compilation, then i uninstalled it, and re-installed it after the compilation, the result was the same.
But i've read that they can't worki together, is it true?? If it's the cas, what's the solution?
Does anyone have any clue? :confused:
 
Last edited:
I also need this help

Dear all,

I also need this help. Anybody kindly explain it to us?
Thank you
 
Hello,

The latest version of Installatron has a hotfix included to fix a problem with SuPHP permissions. If you have Admin access to the server, update Installatron by clicking the Refresh & Update System Files button on Installatron's Admin page, and then make sure the Use PHPSuExec CHMODs: option is enabled.

Cheers, Phil.
 
Back
Top