• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

adding binary directory to apache user environment variables

runtim23

Basic Pleskian
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.
 
If anyone is curious, I was not able to get this to work and just copied my program into the included directory.
 
Back
Top