Contact

Call

Call us

Our support team is happy to help you, be it for technical or administrative issues. We’re there for you!

 

+43 (0)720 511 555

(Calls from the Austrian landline 0.25 EUR / minute)

 

Monday to Friday/Saturday1
9:00 am – 12:00 pm & 1:30 – 5:00 pm

1 Administration: Monday to Friday, technical support: Monday to Saturday

Write

Write to us

To be able to help you as quickly and effectively as possible, we kindly ask that you make your request as specific as possible. And of course you can contact us by email: support@hoststar.at

File access with PHP

Support > Hosting > File permissions

The standard version of PHP accesses the web hosting server with a user called «wwwrun» and not your user. This standard version of PHP consumes fewer system resources, but will lead to problems as soon as you use a CMS, shop system or similar in the context of a file upload. As in our description, you could now set the permissions to 777 but doing so would grant access to all users on this server. Any user with knowledge of this path can access these files. In other words, this is highly problematic in terms of security.

Using PHP in FastCGI mode offers a solution to this problem. If you update the PHP version to a FastCGI version, PHP uses your username to access the files. This has another advantage, namely, that you do not have to worry about the permissions for the directories and files because PHP automatically does this correctly.

Was this article helpful?