Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
Try using strace to find out –  vtest Sep 16 '11 at 1:22

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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