0

When I changed something in a file containing a dynamic class who's name is called from database. its working fine for the local server, but it is not updating on the live server until I change the file name and upload it again.

could anyone what's the reason, why this happening.

1 Answers1

0

This can be a write permission issue,

the file on the server must be owned by Apache.

If not then due to permission issue this can happen.

(1) Allow Apache access to the folders and the files.

sudo chgrp -R www-data {Path}
sudo find {Path} -type d -exec chmod g+rx {} +
sudo find {Path} -type f -exec chmod g+r {} +