move runphp.sh from app to framework