RE: [PHP] includes slooooooow
| From: | Andrew Hill | Date: | Fri, 09 Mar 2001 16:11:12 +0000 |
| Subject: | RE: [PHP] includes slooooooow | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43164@lists.php.net to get a copy of this message | ||
Replace include with include_once where you can.
Best regards,
Andrew
> -----Original Message-----
> From: Jens Kisters [mailto:j.kisters@rosomm-partner.de]
> Sent: Friday, March 09, 2001 11:08 AM
> To: php-general@lists.php.net
> Subject: [PHP] includes slooooooow
>
>
> Hi, i just finished my first really big project and when it went live
> the servers just flipped out, 100% CPU Load.
> Removing all includes and pasting all libraries together seemed to do
> the trick, CPU went back to normal.
>
> My Question:
> What can i do to speed up includes, i hate working on a file with 45 KB
> Sourcecode in it.
> Not to speak of pasting the libs to every single Script that makes use
> of them.
>
> I tested on a system with the Zend Optimizer installed, the Servers
> running the live application do not have the encoder, but i noticed the
> lags caused by the includes on the test system too.
>
> tks in advance!
>
> --
> Grüße aus dem schönen Kleve
> Jens Kisters
>
> rosomm et partner
> Agentur für neue Medien GmbH
> Dienstleistungszentrum am
> Weißen Tor - Eingang B
> Gocher Landstrasse 2
> 47551 Kleve / Bedburg-Hau
>
> Telefon: 02821 - 97856-20
> Telefax: 02821 - 97856-77
> j.kisters@rosomm-partner.de
> http://www.rosomm-partner.de
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>