Unstable ph value

We don't know which Arduino you have, how you have connected things, how you have powered it, and if you use default Aref (bad idea) for those voltage measurements.
If you want help, then give us all the details.
Read the "how to post" guidelines first.
Leo..