• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Apache, PHP and permissions

I

itschemnitz

Guest
Hello,

trying my best for writing in english once again :)
I'm using Plesk 8 with SuSE 10 on a root server from STRATO. I've created some clients, domains and so on. All files in the domain directories have the permissions 755 like the examples from Plesk and I've chowned them to username:psacln like Plesk chowns them when files are uploaded through ftp.
The php-scripts I'm using work fine when they have to read stuff from a file (I've scripted a file-based forum). But on creation of new files, the php script crashes with a permission failure. When I make chmod 777 on all files and directories, it works - what a wonder, huh :)
Apache runs under wwwrun:www. Is this a plesk standard? I cannot find any group "www" in Yast!?
Has anyone a solution for the permission problem? Should I use suphp? And why are the example files (in new created vhosts) chowned with root:psacln? I think there shouldn't be any security problem, because of the base_dir_restriction...I'm confused...

Many questions, but please take time to answer as most as possible.

Thanks, Nico
 
Ok, after making a chown wwwrun:www on all files, creation of files is possible
 
Back
Top