66 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
jozevodinar says

So i have a script on my ubuntu server. Right now i am using SSH2 to send the command, but the problem is it takes quite some time to send the command and when there are multiple threads, it often times out. The command that has to be run is like ; ./scriptname something something2 something3 something4 something5

I use SSH2 on another webhosting, but as i said, it’s slow. Can someone please show me another way that php could execute the command like i gave example? Thanks

66 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
jozevodinar says

Giving a 5$ reward so you won’t make it for nothing :p

5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

Perhaps ask on stackoverflow

by
by
by
by
by
by