PHP file permissions

Updated: 06 May 2024

Set folder and file permissions for a php project

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

Leave a comment