If your pH probe has two outputs, one for pH and one for temperature, and if the output is a signal like 0-10 VDC or 4-20 mA, then you would just connect the probe output to a standard analog input card, read the value into your program, and convert the raw data into engineering units.
If the pH probe doesn't have an option for the temperature output then you are screwed.