I'm developing a simple API using the Slim Framework.
When I run local tests all the functions work the way they should but I started to have problems when I went up to a certain hosting. It happens that when I call some function it is even found but it returns the following error:
Call to undefined method mysqli_stmt :: get_result () in.
I have already done some research before to try to solve the problem and had seen the need for 'mysqlnd' active in the hosting but when I request it to be active 'mysqli' is disabled and I have the following error:
Class 'mysqli' not found.
To make it clear the hosting used is localweb and the active php version is 5. (I had the same problem with Hostinger).
I did not know what to do at first because I'm starting Php so any help is welcome.