Generally speaking your approach looks valid.
If it doesn’t work outyou need to dive into debugging the situation.
If you don’t want to setup an ide and xdebug you can add logging statements to see whats going on in the server.
Generally speaking your approach looks valid.
If it doesn’t work outyou need to dive into debugging the situation.
If you don’t want to setup an ide and xdebug you can add logging statements to see whats going on in the server.