Servage: wordpress plugin autoupgrade problem

Recently i’ve signed up to Servage hosting. It seems like Servage could be affordable hosting solution for my projects.

There are autoinstaller feature wich can instantly install wordpress for you. All just fine however it was impossible for me to use WordPress’s plugin autoupgrade feature.

Here is the solution:

  1. Change wp-content permissions to 777
  2. Find file wp-admin/includes/file.php
  3. Replace string:

    if ( getmyuid() == fileowner($temp_file) )

    to

    if ( posix_getuid() == fileowner($temp_file) )

Links:

Добавить комментарий