What are the potential issues with file permissions when running PHP scripts on Windows servers compared to Apache servers?

When running PHP scripts on Windows servers, file permissions can be a potential issue as Windows uses a different permission system compared to Apache servers. To solve this issue, you can explicitly set the file permissions in your PHP script using the `chmod()` function to ensure the correct permissions are applied.

// Set file permissions explicitly
chmod("example.txt", 0644);