Whenever I need something doing, I write a PHP script to do it. I like PHP, it's simple, doesn't need compiling, and I can have a tool written in minutes.

Trouble is, when I try running PHP in the command line, it takes about five seconds to start, then when it's finished it takes another five seconds to exit and go back to the prompt.

This happens no matter what I'm doing with PHP, whether it's running a script or just viewing the help info.

Does anyone have any idea what might be causing this problem?

  • Try using strace to find out – vtest Sep 16 '11 at 1:22

You may want to take a look at a similar question on our sister site stack overflow

  • Right on, thank you very much for the pointer. Funny thing is I was considering posting this on SO first, but decided it wasn't programming-related enough ;) – Niet the Dark Absol Sep 16 '11 at 3:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.