Re: Optimization of PHP Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 18, 2008 at 8:53 AM, Manoj Singh <manojsingh2121@xxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux