In our standard webserver configuration, we use Apache + PHP-FPM on Ubuntu. Apache runs with a different user and a different group than PHP. This implies that all files that are to be readable by Apache need to be world-readable. PHP creates files that are not world-readable by default.
I intended to set the creation mask within php.ini or better on a per-pool basis. Sadly, both seems not to be possible.
I finally managed to change this behavior by changing umask in the start script /etc/init.d/php5-fpm from 0007 to 0000.
Noch kein Feedback
Formular wird geladen...