The pp → ppϕ and quasi–free pn → dϕ reactions have been studied at the Cooler Synchrotron COSY–Jülich, using the internal beam and the ANKE facility. Total cross sections in the pp entrance channel have been determined at three excess energies ∊ in the range of 18.5–75.9 MeV. In case of the pn entrance channel the energy dependence of the cross section up to 80 MeV has been extracted by exploiting the intrinsic momentum of the neutron inside a deuterium target. Taken together with data for ω–production, a significant enhancement of the ϕ/ω ratio for both entrance channels of a factor 8 is found compared to predictions based on the Okubo–Zweig–Iizuka rule.