Fc-list ouputs fewer fonts through PHP than shell


#1

When I run the command fc-list on the SSH shell it shows more fonts than when I run the command from PHP using exec / system / passthru.

Specifically fonts defined in ~/.fonts are missing from PHP. How can I ensure they are included same as they are from the shell? I thought that the Shell and PHP where run as the same user. Am I missing a setting somewhere?