I was able to fix this by commenting the lines where xvfb-run was checking for xauth. Turns out this issue is only on php-fpm. I now have another issue, I keep getting the following warnings which is breaking my application:
Code:
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
This is CentOS 7 btw
edit: fixed this as well, had to install mesa-dri-drivers