According to The National Centres For Environmental Information, a subsidiary of the US Federal National Oceanic and Atmospheric Administration, the only source for the crucifixion and resurrection earthquakes is the Gospel of Matthew.
While there's no reason to dismiss biblical sources out of hand, in this particular case it seems likely that these events were invented features of the story rather than records of actual events. There are two main reasons for this: Firstly, the story records both "darkness" and an earthquake happening at the same time, an extraordinarily unlikely occurrence. Secondly, there are no pagan sources which mention it, which would be very odd if both an eclipse and an earthquake happened at the same time.
So it seems that the earthquake was probably an invention, although of course this cannot be stated for certain.
It should be noted that although there was no solar eclipse near an appropriate date for Jesus' crucifixion, there was a lunar eclipse visible from Palestine on the 3rd of April, 33 AD.