does upgrade cause slowdown?
am 04.01.2008 02:05:49 von pc
Hi,
I am a webmaster of a website and the server maintianers upgraded from
php 4 to php 5.At around the same time my site slowed down.Does a php
upgrade cause a site to slow down?Is there any way in which I can find
out why my site slowed down?
Re: does upgrade cause slowdown?
am 04.01.2008 02:22:38 von todofixthis
Heya, PC.
Upgrading from PHP 4 to 5 is a pretty BIG change; in some ways, your
app will run more efficiently, but more likely, PHP is running in
emulation mode. For example, classes written for PHP 4 are less
efficient than PHP 5 classes.
To complete your migration, you'll need to rewrite your app for PHP 5:
http://www.php.net/manual/en/faq.migration5.php
Re: does upgrade cause slowdown?
am 07.01.2008 01:06:23 von Charles Polisher
todofixthis wrote:
> Heya, PC.
>
> Upgrading from PHP 4 to 5 is a pretty BIG change; in some ways, your
> app will run more efficiently, but more likely, PHP is running in
> emulation mode. For example, classes written for PHP 4 are less
> efficient than PHP 5 classes.
>
> To complete your migration, you'll need to rewrite your app for PHP 5:
> http://www.php.net/manual/en/faq.migration5.php
Responding to OP's request, here is a great
resource for tuning web sites with LAMP/PHP in mind:
http://david.fullrecall.com/website-optimization