• I installed WordPress on local server with MAMP but I get a error message

    OS Mac 10.7.5

    Unable to create directory wp-content/uploads/2016/03. Is its parent directory writable by the server?

    Help!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi matrixphoto!

    It sounds like your folder permissions may not be set properly in OSX.

    Hi I am getting the same when trying to upload a new image and when trying to install a new plugin from my desktop.

    But the plugin installed fine from the WP server?

    Folders are set to 755

    This is a live site

    Dion

    (@diondesigns)

    Since this is a localhost install forum, I’ll address the issue in MAMP on a Mac. Apache/PHP must be set up to run as the OS/X user who owns the files in your WordPress installation.

    In your MAMP install, you should have a file in the Apache directory structure called httpd.conf. Find that file, and locate the two commands that set the user and group. I’ll bet both are set to either “nobody” or “www-data”. You should change both to the name of your OS/X user, and then restart Apache. That should fix your problem.

    To the person on a live server, please do not attempt this solution! While it’s possible it would work, the more likely result would be APache/PHP being broken. You should contact your hosting company and request that they change Apache/PHP to a FastCGI handler, preferably PHP-FPM.

    Ah sorry didn’t realise this was for local installations searched and this came up
    Anybody know where the answer might be

    wlambert

    (@dramaticlistening)

    Thank-you so much for posting this. This worked for me. The httpd.conf was in xamppfiles/etc/httpd.conf and it had User and Group both set to daemon. I changed them to my OS X username and group. I expect I’ll have to change this back to daemon and daemon when I make the site go live. Is that right?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I installed WordPress on local server with MAMP but I get a error message’ is closed to new replies.