All 1 entries tagged Osx

View all 5 entries tagged Osx on Warwick Blogs | View entries tagged Osx at Technorati | There are no images tagged Osx on this blog

August 21, 2011

Wordpress Mac Permissions Issues with Zend Server CE

If you have installed Zend Server CE on your computer to use as a development server, you may have ran into the issue of Automatic update not working on Wordpress. This is the function that usually updates your Wordpress plugins and Wordpress system or core files. Furthermore, another related problem that you will likely to have as a result of this is that you won't be able to have Wordpress edit your .htaccess to change the way your blog URLS look like.


The cause of this problem is that the Apache user used by Zend Server CE (User: daemon, Group: daemon) is not given enough permissions to be able to make changes to your files on your Mac. The solution to this should be simple, at least it worked for me right away.

The Solution:

  • Open your Terminal application (Applications -> Utilities)
  • Use the following commands in bold:
  1. Navigate to your htdocs folder that was created by Zend Server CE using something like:
    cd /usr/local/zend/apache2/htdocs
  2. Change the user of your blog folder which resides within the htdocs folder. In my case my blog folder is called blog, so I used this command:
    sudo chown -R daemon blog
  3. Change the permissions of the folder using:
    sudo chmod -R g+w blog
  • Now, try to update your Wordpress plugins or Wordpress system itself (core files), this should have solved your Wordpress Mac permission issues. In my case, I didn't restart and it worked. If it doesn't work rightaway on your development environment, try restarting your Mac.

Note: The solution above worked for me because I don't allow any network access to my development environment, if you for some reason need better security, you should probably check Zend Server's documentation to follow their suggestions with regard to how to make your development environment safer.

Hope these steps work for you!


Books I Enjoyed

As I buy/view books, I update this list with the books that I most liked:
[View my Book List]

Little About me


Abdulrahman Hariri's Picture

Name: Abdulrahman Hariri

PhD student at WMG.

I’ve started a research education website in 2009 to help people from the Middle East learn how to do scientific research. The website continues to attract tens of thousands each month and has over half a million followers on social media.





My Websites (in Arabic):
البحث العلمي
الأكاديمية التعليمية
الابتكار و ريادة الأعمال


Contact Me

[Click Here to Find More About me]

Search this blog

Tags

Most recent comments

  • Hi Ruhamah, I would first call customer service and ensure that there is a record for you calling wi… by on this entry
  • guys i am having a hell of a bad time with IKEA just recently bought a three door wardrobe ASPELUND … by Ruhamah on this entry
  • Replica pimp web–site will be the forerunner in promoting extremely very best replica watches. And t… by Replica rolex watches on this entry
  • Hi Hadi, Thanks for your comment. I appreciate you getting me their contact information, I will go a… by on this entry
  • Hello Hariri, I go mad with such companies, acting like if they own the customer and have plenty of … by Hadi on this entry

Blog archive

Loading…
RSS2.0 Atom
Not signed in
Sign in

Powered by BlogBuilder
© MMXIX