lundi 18 avril 2016

PHP 7.0.5: Use of undefined constant FTP_BINARY - assumed 'FTP_BINARY'

Upgrading to PHP 7.0.5 on Windows IIS (finally since the sqlsrv PDO drivers are available). I'm using Laravel 5.1 and when trying to connect to an FTP drive I get the following error from http://ift.tt/1TeIEKE.

Use of undefined constant FTP_BINARY - assumed 'FTP_BINARY'

This is a PHP constant for the transfer, so shouldn't have a problem and there's nothing in the docs to say it's deprecated or anything. FTP_ASCII is the same. The only thing i've done is change the PHP version + SQL drivers.

Reference: http://ift.tt/1U27KyI



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire