Jump to content

Deleting a Zend_log file


cmiddlebrook

Recommended Posts

I am creating files using the Zend_Log class but once finished with it, I want to be able to delete the file in some cases. However I am getting a permission denied error. The file permissions are set correctly on the log files themselves and the directory in which they are contained.

 

I can only assume therefore that the underlying file handle to which the Zend_log object points is still open. As there is no close function on the Zend_Log class, is there a way of getting to that underlying file handle so I can close it explicitly and see if that solves my problem?

 

Thanks,

Caroline

Link to comment
https://forums.phpfreaks.com/topic/207422-deleting-a-zend_log-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.