php shell execution damn slow on windows [message #26394] |
Wed, 20 July 2005 04:44 |
ligesh
Messages: 63 Registered: July 2005
Karma: 0
|
Member |
|
|
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.
|
|
|
|
|
Re: php shell execution damn slow on windows [message #31408 is a reply to message #26394] |
Fri, 21 April 2006 09:15 |
richardlynch
Messages: 8 Registered: April 2006
Karma: 0
|
Junior Member |
|
|
If you are running cygwin or some other Un*x emulator on Windows, then, most likely, the standard permissions stuff would work.
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
|
|
|
|