Recent content by vito

  1. V

    $PATH for apache2, how can I make it understand my /etc/profile?

    I found the solution. I have to define PATH variable by means of LSEnvironment in /System/Libraries/LaunchDaemons/org.apache.httpd.plist By default ENV variables are NOT passed to applications, in Mac OS
  2. V

    make/gcc for Mac OS?

    I installed Rudix. it works very good. thanks for your advice as well
  3. V

    $PATH for apache2, how can I make it understand my /etc/profile?

    thanks for your reply and code example. it will work. however, I want my script.sh to get all environment configuration as I get in bash terminal. it's not a question of just PATH, but all other env variables. They are NOT initialized now, when I do shell_exec(). Why?
  4. V

    make/gcc for Mac OS?

    where can I get make/gcc (and other GNU utils for developers) for Mac OS? thanks in advance.
  5. V

    $PATH for apache2, how can I make it understand my /etc/profile?

    When I start a shell script from Apache/PHP by shell_exec() PHP function, the environment inside this shell script is NOT set as it should be. In particular, $PATH variable contains this: PATH=/usr/bin:/bin:/usr/sbin:/sbin Instead of what it normally contains when I work in Terminal...
Back
Top