FreeBSD/Apache Tips

For those who get stuck on FreeBSD getting this to work:
Follow all the installation guides** and then…

…make sure Apache has the environment path set to execute gnupg commands.

You should have a file like this one:
$ cat /usr/local/etc/apache24/envvars.d/path.env
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

I spent about 3 hours pulling my hair out trying to figure out why the healthcheck on the CLI was reporting no errors, but the web interface wasn’t letting me in.

Hopefully I have saved someone some hair.
:sweat_smile:

** Take note not to set a passphrase on your servercert. gnugp v2 and the php pecl gnugp extension has a problem with this.

Checklist
[x ] I have read intro post: About the Installation Issues category
[x ] I have read the tutorials, help and searched for similar issues
[ ] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue

2 Likes

Thanks for sharing!

hair

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.