I try to install Revo 2.0.0-pl on my VPS.
The setup script runs through until the pre-installation checks.
All checks are successul (OK!) except one:
Checking if /srv/www/vhosts/<mydomain.com>/httpdocs/ directory is writable: Failed!
Yes, I have tried all combinations of access rights for httpdocs/ including 0777. No change. The checks for the other directories which have write access riquired are successful. So what am I missing.
Is there any setting for PHP or Apache httpd that prevents the script from writing to the document root?
thanks for any hint
-
☆ A M B ☆
- 2,475 Posts
Who is the host?
Also... what is the owner:group of the directory?
the host is 1and1
I have tried different owners/group combinations:
wwwrun:www with 0770
<myusername>:psacln with 0777
<myusername>:psaserv with 0770 and 0777
always with the same result.
sorry I forgot to mention: I’m doing the advanced installation with custom config id but default directories, means:
httpdocs/connectors/
httpdocs/core/
httpdocs/setup/
httpdocs/manager/
httpdocs/ as doc path
-
☆ A M B ☆
- 2,475 Posts
Sometimes with vhosts I’ve had problems with the paths... if you put a php file in your document root that prints out getcwd(); command -- what does that state your path to be?
just changed it for httpdocs only (without -R).
But also changed it for the other directories which need be writeable like core/cache and core/packages. For these dirs I applied -R 0770 and changed the owner to <mystandarduser>:psaserv recursively. the checks for the subdirs are passing OK.
Wouldn’t it be a security risk to change permissions for all files and folders?
-
☆ A M B ☆
- 2,475 Posts
My personal recommendation here is: "just make it work." There isn’t a security risk on a new site. Who cares if it gets hacked right now? You’re in the process of nuking it anyhow. I would try peeling back permissions all the way, just to see if that has an effect. Hopefully you can find a combination that works, then you can work backwards from there to see what exactly was causing the problem.