Saturday, February 23, 2013
Thursday, February 21, 2013
MAMP/Apache environment vars question
Hello,
I am not sure if this is the right place to ask the question but since this is a developing forum, I assume it is.
I was wondering if anyone would know why in MAMP when I view the phpinfo(), the PATH info under Apache Environment is different than what I specify in the Apache envvars file.
Apache seems to be getting the PATH info from somewhere else and I can't quite figure out where. I am using just MAMP; not the pro version.
Any help is greatly appreciated. Thank you!
Re: MAMP/Apache environment vars question
Hello etresoft,
The file I changed is called: envvars
There are two actually, one is called envvars and the other envvars-std. Both have the same exact information in them. For me the file(s) are located at: Applications>MAMP>Library>bin
Thanks.
MAMP/Apache environment vars question
Hello,
I am not sure if this is the right place to ask the question but since this is a developing forum, I assume it is.
I was wondering if anyone would know why in MAMP when I view the phpinfo(), the PATH info under Apache Environment is different than what I specify in the Apache envvars file.
Apache seems to be getting the PATH info from somewhere else and I can't quite figure out where. I am using just MAMP; not the pro version.
Any help is greatly appreciated. Thank you!
Friday, January 11, 2013
how to invalidate DYLD_INSERT_LIBRARIES environment variable?
I find that in Mountain Lion, DYLD_INSERT_LIBRARIES environment variable is ignored for some applications, like Safari.app, Screen Sharing.app. And after some study, I also know it is probably because that the app is code signed with some special entitlements.
Now I am trying to make this environment variable also ignored for my app. I tried to sign my app with some entitlements but this environment variable is not ignored. I have tried many entitlement keys listed in the apple doc and all failed.
I notice that Safari.app uses entitlement "
so my questions is:
1. in order to invalidate DYLD_INSERT_LIBRARIES environment variable for my app, what entitlement key value should I use when signing my app?
2. what is the critetria that Mountain Lion uses to determine whether ignore this enviroment variable or not?
Thanks!
Re: how to invalidate DYLD_INSERT_LIBRARIES environment variable?
What are you trying to do? DYLD_INSERT_LIBRARIES has noting to do with entitlements.
Re: how to invalidate DYLD_INSERT_LIBRARIES environment variable?
What are you trying to do? DYLD_INSERT_LIBRARIES has noting to do with entitlements.
Re: how to invalidate DYLD_INSERT_LIBRARIES environment variable?
What are you trying to do? DYLD_INSERT_LIBRARIES has noting to do with entitlements.