On Tue, Aug 6, 2013 at 9:02 PM, Himanshu Shekhar <
himanshushekhar...@gmail.com> wrote:

> Why don't php come with a compiler and higher speed for managing heavy
> websites with php alone? Can u increase php's speed?
>

Hi,

PHP has several opcode cache solutions, some of which are native and others
may be third party solutions. For example, as of PHP 5.5.0 you have the
ability to compile PHP byte codes and cache them with the opcache extension
(see www.php.net/opcache for more details), which improves performance.
There is also the PECL extension APC as well as other third party
extensions such as ionCube, XCache, Windows Cache, and Zend OpCache...
among others. Additionally, there is the facebook HHVM solution, which is a
different approach of using PHP for those with incredibly high efficiency
performance needs. However, for most people, PHP works just fine. The
average weekend warrior does not need the kinds of performance gains that
would be offered by an entirely compiled solution like that of HHVM.

However, please note that this list is for people maintaining the
php.netinfrastructure and not for general support or internals
discussion. If you
are seeking general support please try the php-general list or
php-internals for internals discussion instead.

Thanks,
Sherif

Reply via email to