In PHP there is nothing for reading PDF files (for creation, like php 5). You can find some classes that will do this, and you won’t need to install the PEAR module, just include the file. Alternatively, you can try and use imagemagick from the command line using exec or backticks, many hosts have already installed it for use in the shell.
source share