The output of your command "
pwdx $$
" is:
98225: /usr/lib/cgi-bin