Nerd Posts
Alter APACHE PATH environment variables for PHP
In phpinfo(); under Apache Environment section, you will see
PATH
On the mac this was stuck at
/usr/bin:/bin:/usr/sbin:/sbin
One way to remedy this is to edit the launchDaemon plist file...
vi /System/
Library
/
LaunchDaemons
/
org
.
apache
.
httpd
.
plist
Add the following key
EnvironmentVariables
PATH
/usr/bin:/bin:/usr/sbin:/sbin:
/usr/local/bin
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment