« Previous Next »

Not Answered Thread: PHP keeps locking files

Last post 04-24-2012 11:26 AM by russmichaels. 3 replies.

 

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-22-2011, 11:11 AM

    PHP keeps locking files

    We have an ongoing issue with all our IIS 7 servers and PHP. When you delete files from within PHP, such as updating/removing a plugin within wordpress for example, the delete process does not complete and the entire folder becomes locked by PHP and then cannot be used, so it then becomes impossible for users to do anything that involves that folder, which in the case of wordpress, Joolma or similar, no plugins can be installed or updated. I am using an unlocker tool to resolve this when it happens, but it happens continuously and I really need to find a solution to stop it from happening. anyone else had this and got any ideas ?
  • 11-22-2011, 11:19 AM In reply to

    Re: PHP keeps locking files

    Hi,

    Look at Ruslany's information for Wordpress http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/ ?

    Martin

     

    Martin
    Learned "best efforts" come from the Experts in the Community.
    and help with user questions.
    Martin Rasch is Humbled to have received the Award 2011
    for the contributions in the IIS Forums.
    Plase Mark the answers that helps you with your questions
    it sill help the users and Community. Martin

  • 03-23-2012, 6:53 AM In reply to

    Re: PHP keeps locking files

    The issue isn;t specific to wordpress, we are having it with any php apps, users are unable to delete or rename file sor folders via FTP because php-cgi.exe and w3p process is locking them. I have applied the wincache fix on one server but this seems to have caused other issues, php pages will regularly hand/timeout or simply take ages to load. Hitting refresh will usually resolve the problem, but it is consistent.
  • 04-24-2012, 11:26 AM In reply to

    Re: PHP keeps locking files

    in addition this happens on servers where wincache is not even installed either.
Page 1 of 1 (4 items)