1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

adding binary directory to apache user environment variables

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by runtim23, Aug 17, 2012.

  1. runtim23

    runtim23 Basic Pleskian

    12
    35%
    Joined:
    May 17, 2012
    Messages:
    45
    Likes Received:
    0
    Hi,

    I just installed some software in /usr/local/bin using make. I have a site running php as an apache module and the exec function cannot find my software. I understand the user should be running as apache and when I execute "echo $PATH" in the php script the /usr/local/bin directory has not been included. I don't see anywhere to add this in the panel and I can't find any profile files. Any help would be appreciated to add my directory to the env variable for user apache. Thanks.
     
  2. runtim23

    runtim23 Basic Pleskian

    12
    35%
    Joined:
    May 17, 2012
    Messages:
    45
    Likes Received:
    0
    If anyone is curious, I was not able to get this to work and just copied my program into the included directory.
     
Loading...