PHP Notice: Constant CRYPT_RANDOM_IS_WINDOWS already defined After Installing Net_SFTP From phpseclib

Recently I needed a SFTP client to upload file securely from local machine to remote SFTP server. I built a client myself using PHP function “ssh2_scp_send” to upload the file. It worked fine on my local testing environment, but failed on production because our system engineer guy only allowed the …