diff --git a/src/Gaufrette/Adapter/Ftp.php b/src/Gaufrette/Adapter/Ftp.php
index <HASH>..<HASH> 100644
--- a/src/Gaufrette/Adapter/Ftp.php
+++ b/src/Gaufrette/Adapter/Ftp.php
@@ -528,7 +528,7 @@ class Ftp implements Adapter,
             $this->connection = ftp_ssl_connect($this->host, $this->port, $this->timeout);
         }
 
-        if (PHP_VERSION_ID >= 50618) {
+        if (defined('FTP_USEPASVADDRESS')) {
             ftp_set_option($this->connection, FTP_USEPASVADDRESS, false);
         }
Enable FTP_USEPASVADDRESS option only if the constant exists

As stated by @stof in #<I>, FTP_USEPASVADDRESS is also not supported
by PHP <I> & <I>. See php/php-src@<I>a<I>a4.