server doesn't show images after php upgrade

Anthony

Verified User
Joined
Jan 20, 2006
Messages
9
Hi,

I upgrade apache to 2.2.4 from 1.3.37 and php from 4 to 5.2.2 and now it wont display any images, the images are there as it worked before the upgrade.

btw im not running any bandwidth mods/plugins etc.

I can downgrade to apache 1.3.37/php 4x and it works fine. not sure what breaks when its upgrade to apache 2

any ideas would be nice

TIA
 
Perhaps you should tail your user level httpd log while attempting to view an image (usually by right-clicking from your browser), to see if you get any message.

Jeff
 
Do you use custombuild or customapache for it? If custombuild - you can just try "./build rewrite_confs".
 
Fixed.

Solution:

Set
EnableSendFile OFF

in the apache config file then restart.
 
Last edited:
I am having this problem too but, the solution doesnt work for me. When trying to view a image I get "HTTP 404 NOT FOUND..." but the timage is on the server... apache logs give me this

[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /etc/httpd/uploads, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/404.shtml, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /etc/httpd/uploads, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/404.shtml, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/javascripts/dlcalendar.js, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:11 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/404.shtml, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:12 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/flash, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:12 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/404.shtml, referer: http://www.spb-fb.co.uk/index.php?view=gallery
[Tue Apr 08 20:50:19 2008] [error] [client 86.151.164.22] File does not exist: /etc/httpd/uploads
[Tue Apr 08 20:50:19 2008] [error] [client 86.151.164.22] File does not exist: /home/spbfb/domains/spb-fb.co.uk/public_html/404.shtml
 
Last edited:
Fixed.

Solution:

Set
EnableSendFile OFF

in the apache config file then restart.
After I update my php, my squirrelmail cannot show any images.
This solution really helps me a lot, IT REALLY WORKS :D
 
Back
Top