Simple way to display current folder physical path in PHP.

echo dirname(__FILE__);