Is it possible to control which libraries apache uses?
Okay, so I had an earlier problem with PIL that is still unresolved. Someone else had this problem and had success by removing the old JPEG library . I can't really do that on my machine, however, as it's RHEL and so many things are dependent on libjpeg and libjpeg-devel (when I tried yum remove libjpeg just to see, there were a total of 252 packages that would have been removed!) I have jpeg-8 installed in /usr/local/lib. It's correctly being used by python, but not by apache. Here's a list from lsof: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME httpd xxxxx root mem REG 253,3 xxxxx0 xxxxx34