fix apache issue when enable secondary php