Google sagt bei „realpath() not working“ :
It returns the absolute pathname on success and a False on failure. The realpath () function returns False if the running script does not have executable permissions on all directories in the hierarchy.
Klingt also nach einem Problem mit den Zugriffsrechten. Am besten mal custom/plugins im Hauptverzeichnis auf 0777 setzen.