Fix php and startup