Connect to api mikrotik with openvpn server? RouterOS v6.46.3 (stable)

I’m setting up a mikrotik lab on an openvpn server, and I already have the router connected to vpn, I can even connect remotely to the settings and make pin from my pc.

My problem is that I could not connect to the api using php, when I upload the project to the server it does not run, currently I use the following example:
Tutorial: https://youtu.be/Af6LP8dZWDI
Project: https://mega.nz/#!SgwHXYAQ!Du6FqLeca60fhehzIhlndilMsYo1JtLSq0yR_aF-mLY

I hope you can please help me
RouterOS v6.46.3 (stable)

images:
https://drive.google.com/file/d/1OXlzaw7Z6OfEsj5Exu4Z9WWl3Ta5OwUe/view
https://drive.google.com/file/d/1GI11veIyceogDPWjTBJxAamKHbPoWYu-/view?usp=sharing