cmiddlebrook Posted July 11, 2010 Share Posted July 11, 2010 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.