jdd wrote:
Le 03/04/2014 08:11, Per Jessen a écrit :
jdd, what is the problem? Your setup sounds completely normal.
when I speak of scripts, I mean php applications, not bare single simple script
Well, a script is a script is a script - a php application is just lots of scripts :-)
See an example.
I want to install "piwigo", a php photo gallery.
It's fitted to work on an shared web hosting, recommend to install the file through ftp and do the setup, then upload the image through ftp.
Right, a pretty common setup.
There are two install ways, nearly automatic and manual.
Manual I should transfer the file with ftp and go to the page, give some infos about mysql and go... but this fails, because files are 766 and are owned by me:users when the apache server is wwwrun:www. Impossible to write the config file, impossible to make subsequent software updates or plugins adding.
Okay, it's the writing that fails.
the solution may be through suexec. If I understand well this makes apache work as user in public_html.
If you have a choice in the matter, I would suggest taking a look at apache2-mpm-itk. This lets you run each request with a dedicated user/group. We're running this in production on openSUSE 12.3 with a patched apache2 2.4, but I think openSUSE 13.1 has it built-in. It works really well. http://mpm-itk.sesse.net/ -- Per Jessen, Zürich (13.7°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org