I have a simple PHP application that prints "hello world." When I run it from the command line, it takes 6 seconds. This is normal? It seems like 1 second before printing "hello world", then after 5 seconds.
I am running PHP version 5.2.12 on Windows Server 2008 R2. Could this be a setup problem, or is this typical? I performed a manual installation of PHP, and then added all the components necessary to run Drupal. The only PHP addition that I remember was MDB2, there is also CGI support.
I am using a Lua project that I run from the command line, hundreds of lines of code that will run in a second.
I have some unit tests that I run from the command line, and already with some of them they are very slow. I run them from Netbeans and the tests are still very slow.
I am doing exactly this:
C:\temp>copy con test.php <?php print('hello, world'); ^Z 1 file(s) copied. C:\temp>test.php hello, world
source share