I am sorry to be asking for help when there's loads of that on the internet, however I'm not Linux savvy.
I've installed apache2 and PHP5 under debian, and uses of PHP fopen() function produce typical:
Warning: fopen(/some/where/some.txt): failed to open stream: Permission denied in /some/file/location/of/script/index.php on some line
I would be very grateful if anyone could kindly supply me with a secure/minimum required solution to make it work, and even better if that would be explained as well.
It is extremely likely that some folders or configurations require correct permissions set, however I am in a dark forest when it comes to that.
- Apache is compiled and installed from source. PHP is compiled and
- installed from source, without default php.ini
- Above should be considered with me not being Linux savvy and not getting permissions.