@mohit sharma Are you getting any error message or error code while connecting via curl request? If so, can you share the screenshot?
Adding more info: We have the Azure Storage Library for PHP but this requires PHP 5.6 or above. To upload to Azure Files via REST API two calls are required. First, you need to Create a File. Once the file has been successfully created you use Put Range to add the contents. For some examples, you might want to refer to this blog post.
// Getting authentication scheme : https://github.com/Azure/azure-storage-php/blob/master/azure-storage-file/src/File/FileRestProxy.php
azure-storage-php:https://github.com/Azure/azure-storage-php