Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    bet its i user permission issue, but dont know how os x does such things Commented Nov 8, 2012 at 18:28
  • 1
    Adding to @Dagon's comment, check the user and group that your script is running as when executed by your server. I'm also not exactly sure how users/groups/permissions are handled on OSX, but your server is probably executing the scripts as a user created specifically for the server, which will have restricted permissions. Commented Nov 8, 2012 at 18:43
  • @G-Nugget whoami returns "nobody" when called from browser Commented Nov 8, 2012 at 19:31
  • 1
    Also not sure about osx, but quite often php cli (command line interface) has a different php.ini. It is possible that the cli php.ini has exec enabled, while the web php.ini has not. Commented Nov 9, 2012 at 12:36