Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hopefully this is simple.

If I access a webpage served using apache2 and php5 via a mobile device with a slower connection like an android phone, the display and formatting of the php page does not show up, but the information, the text, does. If the connection is through our internal network, it works fine and displays correctly.

I created a phpinfo.php page just for testing and it works and displays correctly no matter the connection speed and location.

So, what configuration item could cause this? I've scoured through apache and php conf and ini files and docs and cannot seem to find something that would cause this.

Everything seems to work fine, the data is there, but it just does not display correctly; and again, only on an external slow connection.

share|improve this question
Carefully compare the raw data received in both cases. –  David Schwartz Jan 16 '13 at 4:56
Ummm... Toggling keepalive to "on" in apache2.conf seems to be the answer. Toggling keepalive to "off" reproduces the problem. But why? –  Damon Jan 16 '13 at 5:06
Are you using a separate stylesheet for formatting? –  Jenny D Jan 16 '13 at 14:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.