Re: Performance Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 27, 2008 at 12:39 PM, Adriano Manocchia <age@xxxxxxxxxxxxxx> wrote:
> Hi all,
>
>  I've been chasing what I think is the same performance issue for about
>  a year and it's driving me batty. First off, the server is a dual core
>  2.8 P4 with 2G RAM running RHEL5 hosted at The Planet and is under
>  very light load. This problem started last year while the server was
>  RHEL4 and I completely rebuilt it with RHEL5.
[snip all of the good stuff --- thanks for a well-written question!]

    Adriano,

    It really depends on what PHP is expected to do prior to serving
the content.  Some things to consider:
        Are you loading a bunch of modules in your php.ini?
        What is the script doing?  Is it reading/writing files?
Including files?  If so, are they local or remote?
        What happens if you take a static HTML page and rename it with
a .php extension and compare load times?

    The last of the questions will be of the most help in determining
which of the first two would be more applicable, because when you
rename the extension, PHP will be loaded by Apache.  This means:
        a.) If the performance is degraded by comparison, it's a
slow-loading PHP engine.
        b.) If the benchmarks are comparable, then it's likely
something in your PHP script(s).

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux