• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[PHP] image cannot be displayed contains errors

Khayman

I'm sorry Hal...
Political User
#1
Recently i've started getting this error when trying to view pictures localy through a web page. The picture either displays a tiny bit or shows that error in FF and the normal red x in IE.
Sometimes it starts to display the image and then goes ot the error

The pictures display fine every where else, in other programs etc.

Any thoughts?
 

Khayman

I'm sorry Hal...
Political User
#2
Another one fixed, lol

FYI i enabled these two lines in apache config

EnableSendfile Off
EnableMMAP Off
 

X-Istence

*
Political User
#3
EnableSendfile Off will hurt performance BADLY. And EnableMMAP will hurt it even more.

Sendfile is a low level command to directly read a file from disk right to a socket, and out, without first copying it into memory, this helps keep memory usage low for Apache. MMAP is a way to map files to certain parts of memory without the files actually being there, this helps speed up switching between the forks, as to who handles it next.

The problem has to lie elsewhere.
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,248
Members
89,017
Latest member
Seggar