没有显示输出?

I do use following script, but do not get any output. Even de echo executed before CURL-ing is not shown. What is wrong? Any help?

<?php 
error_reporting(E_ALL);
ini_set('display_errors',1);
$localfile = (dirname(__FILE__).'/save/zippedfile.zip');
$ftp_host = 'ssh.mysite.com'; /* host */
$ftp_user_name = 'username'; /* username */
$ftp_user_pass = 'password'; /* password */
$url="ftp://$ftp_host/existingmap/";
echo "$url<br>";
$curl_file = curl_file_create($localfile,'zip');
$params = ['file' => $curl_file];
$ch=curl_init();
$fp = fopen($localfile, 'r');
curl_setopt($ch, CURLOPT_URL, "$url".'/zonderslip.zip');
curl_setopt($ch, CURLOPT_VERBOSE,true);
curl_setopt($ch, CURLOPT_UPLOAD, 1);
curl_setopt($ch, CURLOPT_INFILE, $fp);
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_INFILESIZE, filesize($localfile));
curl_setopt($ch, CURLOPT_USERPWD, "$ftp_user_name:$ftp_user_pass");
$result=curl_exec ($ch);
$info = curl_getinfo($ch);
var_dump($info);
curl_close ($ch);
echo $result;
$error_no = curl_errno($ch);
if ($error_no != 0) {
    echo "<br>Final:".curl_error();
    die('File upload error.');
}
echo "<br>done";
?>

Even the first ECHO is not shown. Taking the CURL_EXEC out shows output