rusew Posted September 24, 2009 Share Posted September 24, 2009 I've been googling this for ages and so far, no luck. I'm calling dot to render a graph. When I call it from the command line, it executes in under a second. When I do it with exec(), system(), or back-tick, it takes about a minute. Even more mystifying is that the php executes in under a second on my webserver (media temple), it just takes time on my dev computer (os x snow leopard). The code is like this: $command = "/usr/local/bin/dot -Tgif test.dot -o test.gif" exec($command); Link to comment https://forums.phpfreaks.com/topic/175387-exec-is-very-very-slow/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.