On 7 May 2016 at 01:20, Raja Kulasekaran <cullsin@xxxxxxxxx> wrote: > Hi, > > I have encrypted php Application codebase which I may or may not have > access. > > So, I would like to know how the application behaving / profiling Database > queries through the .so or .dll level . > > Is there any php extension available which help me out to give the > statistics of > all the queries execution details ? > > Thanks, > Raja K > Depending upon the database you are using, you can get the DB to do the logging of queries. Getting PHP to do it, with all the different database drivers for just mysql (mysql, mysqli, pdo), without access to source? Not going to happen easily. Of course, you could just replace the extensions with your own that include the additional logging (assuming you can compile extensions for your platform).