php/apache issues on windows ( 5 Views )

no kitty!
  1. i run php5rc1 (as module) on apache 1.3.29 under 2003 server.
    was setted max runtime, timeout etc. on 15 seconds.
    but when running something like this (or some other "infinite" script)
    PHP Code:

    <?php
    while (1)    {
        
    $a[$i++]=$i;
    }
    ?>

    server dont stops script, uses huge ammount of memory and crashes then
    so is this problem possible to solve. also will be thankful for any other tips about stable running php under windows.

    (akın, Maldives)

  2. Quote:

    Originally Posted by threed
    i run php5rc1 (as module) on apache 1.3.29 under 2003 server.
    was setted max runtime, timeout etc. on 15 seconds.
    but when running something like this (or some other "infinite" script)
    PHP Code:

    <?php
    while (1)    {
        
    $a[$i++]=$i;
    }
    ?>

    server dont stops script, uses huge ammount of memory and crashes then
    so is this problem possible to solve. also will be thankful for any other tips about stable running php under windows.

    I did months of testing on this very topic, but I used IIS instead of Apache on Win2k3. Its just how windows 2k3 works with php. I tried a while statement that went up to 100, meaning it would count plus 1, the script would keep going, memory usage would jump big time and the whole page was slow.

    Put the same script on Linux running Apache, it instantly came up. After all my testing my conclusion was Win2k3 just doesnt run php all that well. But that is just my conclusion, Im sure a lot of people have different opinions/experiences on here.

    I primarily use Linux now at command line because I feel from my tests Linux gives me the best possible speed and reliability over Windows. I only use Windows for my .net programming

    BTW testing was done with php 4.x

    Silly

    (tahir furkan, Kyrgyzstan)



Related Topics ... (or search in 1.720.883 topics !)

php and apache file issues (4)
php / apache issues all of a sudden (5)
php 4.1.1, apache 2.0.54 and mysql 5.0 ( mysqli issues ) (6)
apache/php on windows xp. (8)
php on windows nt rather than apache? (4)
help with apache/php with windows xp (6)
apache/php on windows (4)
installing php 5.1.1 with apache 1.3.34 on windows xp (3)
php & apache on windows xp (4)




copyright © 2007-2031 Pfodere.COM ( 5 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
1.7972