added config directory for rest=php