如何使用php关闭与Apache的连接MS访问

i try to delete .mdb Ms Access file after using it and get this error:

the action cant be complete because the file is open in apache

Screenshot

try close manually with

$this->db->close();

or

odbc_close();

try close browser as well and problem still exist there is a way to delete the file using script without restart apache?

I'd stop Apache, then delete the file.

Open services then find Apache and stop the service.

The file can't be used by Apache if Apache isn't running.