Submitted by hescominsoon on Mon, 11/09/2009 - 10:03 Pro Licensee
I am trying to install drupal but I have to set the permission to 777 to get it to install. I should only have to do 755. Also when i try to use the built in upgrader to wordpress it too throws permission errors until i put the affected directory to 777. Is there any way to remedy this w/o having to do the 777 dance because 755 used to be sufficient.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 11/09/2009 - 12:44 Comment #1
Are you using mod_php or fcgid to execute PHP scripts in the domain you have these scripts installed in?
With fcgid mode, only 755 permissions should be needed..
Submitted by hescominsoon on Wed, 11/11/2009 - 20:07 Pro Licensee Comment #2
does gpl support fcgid mode?
There is a stickied thread in the Virtualmin forum about how to enable fcgid in Virtualmin GPL. It is not automatic, but once configured (takes about 5-15 minutes depending on your experience level and how fast you read) it requires no use intervention, assuming you want all virtual servers to use mod_fcgid for PHP.
Submitted by hescominsoon on Fri, 11/20/2009 - 15:41 Pro Licensee Comment #4
so bascially i have to hand do a script for every domain.
No. That's not what the thread suggests at all. You would add the scripts to your skel, and edit the Server Template Apache section just like the thread suggests...and it will all be automatic.
Submitted by hescominsoon on Sat, 11/28/2009 - 09:58 Pro Licensee Comment #6
is this going to be a future inclusion into gpl or is htis going to reamin pro only?
Submitted by andreychek on Sat, 11/28/2009 - 11:24 Comment #7
Which feature in particular are you referring to? Setting up suexec/fcgid?
It probably will be at some point. But, it is part of the Install Scripts code (which doesn't exist at all in GPL), and so isn't easily merged downward without quite a bit of effort.
But, again, as I mentioned, the thread covers how to set this up so that it is completely automatic in Virtualmin GPL. It is 5-10 minutes of reading and configuration, and then it is done...you never have to think about it again. You don't have the options in the UI for switching between fcgid and mod_php and such, but most folks pick one and use only that execution model for all virtual hosts (and fcgid is the best model for most deployments).
Submitted by hescominsoon on Sun, 11/29/2009 - 23:31 Pro Licensee Comment #9
i'll just change the permissions on the sites to apache and if i need the usermode execution i'll buy pro..:) Thanks..:)
Submitted by Issues on Mon, 12/14/2009 - 11:19 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.