difference between wget and php script in download speed
I have bought a vps server with the following specifications
OS:centos 5.5 X86_64
I wrote a php script to download a file from a url .I tried a url with this script and wget but the script was much slower than wget
wget : 1.5 MB/s
php script : 46 ~60 KB/s [different sapi had same results]
I run this script in my pc with slackware on localhost and it`s speed was aproximately 1MB/s
what`s the reason of this speed limitation ?