• Uncategorized

About php : PHP-7-opcache-Linux-folder-permission-issue

Question Detail

I have this code in my php source file.

@copy($_FILES['Filedata']['tmp_name'], $tmpavatar)

The workdir has been set write permission by command setfacl -R -m user:www:rwx folder
Every thing goes well.

But when I delete the folder and remake a folder with command rm -rf folder && mkdir folder && setfacl -R -m user:www:rwx folder

Then the code above not work.

I must restart the PHP-FPM service and it works.

I wonder is it the issue about php 7 opcache ?

PS: php version: php 7.1.13

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.