- Messages : 82
- Remerciements reçus 5
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
It turns out that under CentOS 7 Apache uses its own private tmp directory (see systemd PrivateTmp option). As such PHP can see the file, but no other process (such as 'clamd') can. So changing the upload directory is the only way that this would work.John Horne écrit: The problem though is that when PHP/Apache uploads a file it sets the mode so that only PHP/Apache can read it. The 'clamd' process runs under its own userid, so the antivirus check always failed with 'lstat' or permissions errors.
Connexion ou Créer un compte pour participer à la conversation.

