Exeoutput php and sqlite database

I have compiled my PHP code with SQLite3 database and create an exe. But when I run the exe it is displaying a database lock error. How do I eliminate the database lock error?

Is your database embedded into the EXE or in an external file?