FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Related topics
Windows Vista Official Thread
how 2 super tweak ure server
Different types of RAM on a motherboard?
PC booster
Whats the difference between Core Duo and Hyperthreading?
Dual Processors
More RAM = more performance?
Asus laptops?
New computer, want to upgrade ram.
Formatting and partitioning?
USB drives as RAM?
Lightweight Linux
NBA: What do you think of Lebron James and Shaq?
use of Honey
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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