Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have window 2003 100mbps server, i have tried using php script such as php indexer, zina and others.

The php script use to serve download such as images and music songs. I personally have 20mbps internet speed. When i use the php script (download pass thru PHP headers) , it will download at constant speed of 30-40KBps.

I have tried different webserver such as apache 1.3, apache 2.2, abyss webserver & lighttpd for windows. The speed while relying on php is same constant 30-40KBps however when i tried direct link/straight from apache, the speed is 1MB/s.

Is there any settings in Window 2003 Registry or PHP should i change to make the download speed is more faster when going thru PHP?

share|improve this question
Are you saying that you're getting 1 MB/s on a local LAN transfer but the PHP transfer is through the local network as well, or being routed over the Internet? – Bart Silverstrim Aug 12 '10 at 13:08
is that 100mbps bothways? or is this just your downstream? how much has your provider allocated you for upstream? – JamesK Aug 12 '10 at 13:17
its 100mbit up/down, its on internet, not over LAN. – JohnScout Aug 12 '10 at 14:08

You have a 100 megabit up/down stream connection and you're downloading at 1Mbps? I don't know of any native PHP that would throttle your bandwidth. Chances are this is your ISP QoS level or you may have an issue with throttling/QoS on one of your perimeter routers.

share|improve this answer
no, what i meant was, when i download direct link from apache ( directory listing, native, without using php) i can get 1mb/s. However when i try on PHP, the speed become 30kbps. – JohnScout Aug 13 '10 at 9:54
@JohnScout PHP isn't a file sharing protocol – David George Sep 27 '11 at 13:49

Your Answer


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