apache out of sync with php (spitting out unfinshed results)
Posted by: michael (---.cust.wildblue.net)
Date: January 03, 2006 06:38AM


i'm getting werid behavior with php documents...

when i request a php file, i get different results, and after refreshing 2 or 3 times i might get the correct output. worst case i get something interpreted as a txt file... sometimes incomplete files and sometimes correct... rarely get the correct output from a remote machine, usually something intermediate.

i'm using complex php services like phprojekt and such for the first time... so maybe this is normal if the system can't keep up... but basicly i would like to be able to force php to flush before spitting out anything... and advice on optimzing server performance would be welcomed as well.

basicly i'm expirimenting with a workstation as a server to make sure everything works before setting up a proper remote server.
come on, be the first person in this forum to spare me any lip service...

sincerely,

michael

Re: apache out of sync with php (spitting out unfinshed results)
Posted by: michael (---.cust.wildblue.net)
Date: January 03, 2006 07:29AM


fixed this in php.ini:

; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block. This is equivalent to calling the
; PHP function flush() after each and every call to print() or echo() and each
; and every HTML block. Turning this option on has serious performance
; implications and is generally recommended for debugging purposes only.
implicit_flush = On

any advice for admins having serious issues with this off?

Sorry, only registered users may post in this forum.