[Wine] Strange slowdown calling Wine from PHP
befletch at gmail.com
Mon Aug 28 17:07:17 CDT 2006
I'm getting some odd behaviour from Wine when I call it from PHP, and
I was wondering if someone who has the command line version of PHP
installed would be willing to give the following test a try to see if
it is something local to me or not.
When I call Wine from a PHP script, it runs perfectly quickly. When I
call that PHP script from another one, the whole thing slows down
dramatically. Here's a geeky summary:
temp$ which php
temp$ cat foo.php
temp$ cat bar.php
temp$ time wine --version
temp$ time ./bar.php
temp$ time ./foo.php
Note the 3 second real time penalty for calling Wine from the second
level PHP script.
I don't see this with other utilities called from PHP, and I don't see
this problem with Wine called from shell scripts. If someone could
run foo.php and bar.php and post what they see, I'd appreciate it.
PS, I'm running PHP 4.3.9 on 64-bit Fedora Core 2, for reference.
More information about the wine-users