If I want to update a PHP file on the server using FTP, can I replace it while the website is live and it may be executed any time?
Could there be a 404 error (or any other error) if a user tries to execute the php file at the exact moment it is being replaced? Or will there be some kind of file 'lock' while it is being overwritten?
Should I put the server in 'maintenance mode' first?