Re: move_uploaded_file and CPU wait state (IO)
| From: | Aleksandar Skodric | Date: | Wed, 01 Mar 2006 23:57:06 +0000 |
| Subject: | Re: move_uploaded_file and CPU wait state (IO) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231287@lists.php.net to get a copy of this message | ||
Hi,
I have changed the directory to the same disk. Results are _much_ better!
So nothing to blame on PHP, only my lack of knowledge about *nix-like system *blush*
Thank all for the advice and help!
Cheers,
Aleks
PS. defining of php_value in virtual host of apache did not work, so I changed php.ini value.
Chris wrote:
Aleksandar Skodric wrote:Hi, Yes, /tmp is on another disk then the final directory. I shall move it to the same disk (tmp_upload_dir) right now. Question: can I define tmp_upload_dir to be otherwise just for one host in apache conf, like: php_ini upload_tmp_dir /some/dir<snip> I'm guessing not, but the php docs will tell you for sure - http://www.php.net