b2cloud

18th April 2013

Things should be considered while trying to execute binaries using MAMP.

Guides | Thoughts | Tutorial | Uncategorized By 4 years ago

I am writing this blog because i spent hours to make things work while i was trying to execute binary files from my PHP script. There are few things that we should keep in mind.

1. Executable permissions РWhen you try to execute binaries or any script from server make sure executable permission has been given to the file you are trying to execute.

2. If still things do not work try changing the ownership of the binary that you want to execute. In my case, i’m using MAMP so i have given the ownership of file to “_www” using “sudo chown” command.

3. Make sure path to binary files are correct.

4. If you are using MAMP as a localhost , then you have to perform one more thing.

Go to Menu->Go to Folder->Write “/Applications/MAMP/Library/bin/” in Text box->Press enter

Find file called ¬†“envvars” and comment the following lines using # :-

DYLD_LIBRARY_PATH=”/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH”
export DYLD_LIBRARY_PATH

Thats it for this blog.

Cheers!!

Recommended Posts

Yammer integrations in ReactJS

Post by 4 years ago

I am writing this blog while I am working on a project for our client’s intranet website. The client requires the website has the ability to share, like and write comments in the website through

Got an idea?

We help entrepreneurs, organizations and established brands from around
the country bring ideas to life. We would love to hear from you!