What are common issues when uploading PHP files using FTP?

Common issues when uploading PHP files using FTP include incorrect file permissions, file corruption during transfer, and issues with file paths. To solve these problems, ensure that the file permissions are set correctly (typically 644 for files and 755 for directories), use binary mode when transferring files to prevent corruption, and double-check that the file paths are accurate.

chmod("/path/to/file.php", 0644);