Changing Apache and PHP to work as previously in shell, also adding mysql