The MU forums have moved to WordPress.org

Editing the wp-config.php file (3 posts)

  1. jimmiejo
    Member
    Posted 14 years ago #

    Hi folks,
    I'm using MU for a new site I'm developing, and almost everything works like a charm so far. One issue I'm having is not being able to edit the wp-config.php file.

    When I open, edit, and attempt to save it, I'm greeted by an "Error -142: remote chmod failed" message in Coda.

    I know that the database setup and everything else is automatically handled through the install, but I need to add a couple lines for NOBLOGREDIRECT and WP_MEMORY_LIMIT.

    Is there another process or requirement for editing the wp-config file? Thanks in advance.

  2. andrea_r
    Moderator
    Posted 14 years ago #

    It's your server setup. Since MU creates it automatically, the file gets owned by apache or nobody. For you to edit it, it will need the same owner as your web account. Thus, the message about chown. (CHange OWNer)

  3. jimmiejo
    Member
    Posted 14 years ago #

    Thanks, andrea_r.

    I gave MediaTemple a call and they gave me the proper command to fix the issue. In case anyone else experiences this problem, this did the trick for me:

    chown -R my_ftp_username:psacln .

About this Topic

  • Started 14 years ago by jimmiejo
  • Latest reply from jimmiejo