Open main menu

Changes

1,032 bytes removed ,  12:05, 10 October 2008
no edit summary
== Infrastructure ==
A # Web Accelerators [[wp:PHP_accelerator|PHP AceleratorAccelerator]] is a tool that will enhance the performance of web applications written for the PHP scripting language. The free [http://php.net/apc Alternative PHP Cache] (APC) is distributed as a PEAR package.If you run your own LAMP server with PHP applications, then please install it. Assuming you already have Apache2 and PHP5 (with dev extensions so PECL can run phpize), it's as easy as<source lang="bash"># make sure we have the development headers and apxs2 binary for threaded versions of apache2sudo apt-get install apache2-threaded-dev# install the APC extensionsudo pecl install APC# pecl would have updated my php.ini file automatically, but it didn't know where to look.# set it for future referencesudo pear config-set php_ini /etc/php5/apache2/php.ini# do the configuration of php settings file myselfsudo vi /etc/php5/apache2/php.ini# test and restart apachesudo apache2ctl configtestsudo apache2ctl graceful# make a symbolic link to the system front-endcd /var/wwwsudo ln -s /usr/share/php/apc.php</source>
== Business ==
4,558

edits