FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
php shell execution damn slow on windows
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=26394&th=5369#msg_26394
I am runing a server program on windows using the php5 cli. There ws a bug in socket_read, which i worked around, but currently the problem is that any shell execution takes around 2.3 seconds to complete.
Could anyone help me with this?
Another problem is the file system accesss. How do i access the whole permission thingy in windows. the stat returns the standard unix kind of stat thing, which doesn't provide all the information for a windows NT filesystem. IN the same vein, how do i chmod on windows? chown, chgrp, etc...
Does all of these work properly on windows? I checked the net, but information seems to be scarce in the net.
Thanks.
]]>ligesh2005-07-20T04:44:03-00:00Re: php shell execution damn slow on windows
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=26410&th=5369#msg_26410
The speed issue was solved. I was running my program from zsh command line on sfu (Services for Unix). I switched to DOS command line and the now the execution time is .04 seconds.
So it must be some environment of the sfu that screws up shell execution.
OK, so anyone here using php on windows?
Thanks.]]>ligesh2005-07-21T02:22:05-00:00Re: php shell execution damn slow on windows
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=26411&th=5369#msg_26411
Ilia2005-07-21T02:49:35-00:00Re: php shell execution damn slow on windows
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31408&th=5369#msg_31408
If you're asking if Windows has things like Un*x permissions, that's a whole 'nother kettle of worms...
See, first you have to be real specific about your version of Windows, because some versions have some things sort of like Un*x perms, and some verions have things not really like that, and some have, well, nothing, really.
Whatever they *DO* have, you get to it by right-clicking on the file or directory and poking around in "Properties" and "Advanced" until you find it, because even in the versions that have the stuff like Un*x perms, it got moved around and changed in the GUI so much that nobody can tell you where to find it.
Disclaimer: I rarely use Windows, but this has been my personal experience with trying to help those people who insist on using Windows. YMMV
]]>richardlynch2006-04-21T09:15:21-00:00Re: php shell execution damn slow on windows
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33367&th=5369#msg_33367
]]>ligesh2006-08-28T20:27:56-00:00