I tried using ImageMagick but there appears to be issues with it when using a Windows server. Whenever I try and add the DLL file to the ext folder, the websites on the server fail with a 500 Internal Server error. Checking this error in Event Viewer I see: Testing if ImageMagick works via CMD does in fact work, but not in PHP and the crash happens when I drop the .dll file into the EXT folder. Any ideas? If not, any alternatives to strip out page 1 of a PDF file and convert it to an image? Thanks
Since you say ImageMagick appears to work from the command line and your error report indicates that its the PHP-cgi interface .exe code that fails, I'd suggest calling ImageMagick directly in PHP using system() or passthu() as a test and possible workaround. The folks over at the ImageMagick support forum are pretty good at diagnosing these issues with PHP, so you could try asking over there, too.
Simply adding files to your ext folder shouldn't throw this error. Edit your php.ini and remove extensions one by one to see which one if causing your issue. It's probably something with odb_ or mssql_.
Thanks for your replies. I don't have ODB activated and I can't remove MSSQL as I use this on one of my websites. I'll send a message over at the IM forums and see if they come up with anything.