well php wasn't built to have that in included...
however there are two options i see
1) find out how much fine grain control you can have over an image with the [man]image[/man] library that does come with php... if that gives you pixel by pixel control/reading of a file, then all you need to do is find the algorithm for character recognition and write it yourself... however it doesn't seem like you are up for that, nor would php be anyones language of choice to do that in..
2) php has command line access to [man]exec[/man] programs... by that i mean you can find some program that does do character regonition, have php ask it to run on the file you want, return the results to php and then use them however you want
this seems the easiest to do, if you have a program that runs on a filename and returns the basic text... if not, then whip open your book on shell scripting and write a wrapper than will take the parameters you want, and return the data you want...