FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

How To Boost PHP Performance?

 


heridlia
Any tips for Boosting PHP Performance?

I mean about speed.

Thanks a lot.
mathiaus
Basically two ways;

(1) Install php software, made to speed up parsing php. Zend Optimizer is well known though there are others. You need to be able to install things on the server to do this though (so not at Frihost Sad )

(2) Optimize your code. Ensure your loops are efficient and you use the most efficient functions. Some functions do the same but are quicker, sometimes using two or three functions may be quicker than using one specific function.
eg. - http://webdevlogs.com/2007/05/23/imagedestroy-vs-unset
http://webdevlogs.com/2007/05/13/sacrifice-a-slight-amount-of-memory-for-the-amazing-speed
vinx_18
This topic is what I've been looking for sometime...

Can anyone post more topics about this...

By the way, thanks mathiaus... Your links give me more knowledge and help me a lot in my day to day coding...
Mgccl
mathiaus wrote:

eg. - http://webdevlogs.com/2007/05/23/imagedestroy-vs-unset
http://webdevlogs.com/2007/05/13/sacrifice-a-slight-amount-of-memory-for-the-amazing-speed


thx for promoting my website...

here is one of the pages I maintain have things to do with speed..
PHP speed freaks
Loop though non-associative arrays
mathiaus
I knew it was someone from Fihost, couldn't remeber who though.

Thanks for those extra links. They'll prove very useful in the future Smile
Mgccl
mathiaus wrote:
I knew it was someone from Fihost, couldn't remeber who though.

Thanks for those extra links. They'll prove very useful in the future Smile

welcome!
I'm going to write more about performance really soon Smile
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.