How can the "Call to undefined function: ftp_close()" error be resolved in PHP scripts on a Strato server?

The "Call to undefined function: ftp_close()" error occurs when the FTP extension is not enabled in the PHP configuration on a Strato server. To resolve this issue, you need to enable the FTP extension in the php.ini file.

// Enable FTP extension in php.ini file
extension=ftp