Fix php script

I have a script [url removed, login to view] that runs every 5min to update currency rates via API into mySQL db and to generate static file [url removed, login to view] with rates in this folder /widget/[url removed, login to view] for some reason, its updating SQL DB but not generating file, all files permissions are correct just the script needs adjustment. NOTE: I need to make sure it works ok on PHP5.6 and PHP7

I am a skilled developer, I can fix the scrip for you.
let discuss more via private message, thanks.
Relevant Skills and Experience
I am a skilled developer, I can fix the scrip for you.
let discuss more via privaPlus

Hello
Respected Client,
I have checked the code of the file and it's [url removed, login to view] function. It's working fine on my system and there is no error found in the code. There must be something wrong with server.
Relevant Skills Plus

Hello ,
I can help you with the php script which is not generating the file .
I have worked with many php applications .
I can provide you better services .
Please honor me the project
Regards ,
codejamer

Hi
I will check he Cron process all both PHP version and fix the issue and also, support you for long time.
Thank you.
Relevant Skills and Experience
PHP, Mysql and all plugins supports and server related issues
PrPlus

My name is Andrei and I'm from Romania, Europe.
I will help you fixing this script and make sure everything works.
After the project is done, you can always count on my help if is needed.
Relevant Skills and ExperiencPlus

Hi there,
I have read the details and would say that i have got the relevant skills and experience to that job.
Thanks & regards,
S. K. Rawal
Relevant Skills and Experience
PHP, Mysql
Proposed Milestones
$20 USD - Plus

Dear employer,
This script will not run under PHP7+ because it uses deprecated mysql_* functions.
As for file writing issue I suspect a path problem because it runs on my machine.
Best regards
Relevant Skills and ExpePlus