Re: Optimization of PHP Code

From: Date: Fri, 18 Jul 2008 13:18:34 +0000
Subject: Re: Optimization of PHP Code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277024@lists.php.net to get a copy of this message
On Fri, Jul 18, 2008 at 8:53 AM, Manoj Singh <manojsingh2121@gmail.com> wrote: > Hello All, > > I am developing the web site in PHP using MYSQL database. > > Can you please provide me some tips to write the optimized code. > > Best Regards, > Manoj Kumar Singh > A opcode cacher helped me a lot on my site. I got the forums loading in more than half the time previously. Quick Description: Every time a php script is called, the CPU compiles that script into executable code, then runs it. An opcode cacher caches that executable code, so the CPU doesn't need to compile it again over and over. Personally, I'm using XCache. http://xcache.lighttpd.net/

« previous php.general (#277024) next »