We study phase synchronization effects in a chain of nonidentical chaotic oscillators with a type-I intermittent behavior. Two types of parameter distribution, linear and random, are considered. The typical phenomena are the onset and existence of global (all-to-all) and cluster (partial) synchronization with increase of coupling. Increase of coupling strength can also lead to desynchronization phenomena, i.e., global or cluster synchronization is changed into a regime where synchronization is intermittent with incoherent states. Then a regime of a fully incoherent nonsynchronous state (spatiotemporal intermittency) appears. Synchronization-desynchronization transitions with increase of coupling are also demonstrated for a system resembling an intermittent one: a chain of coupled maps replicating the spiking behavior of neurobiological networks.