Archive for the Installation Category

Install APC Cache

Posted on May 24, 2009 with No Comments

APC Cache is PHP Object cache to speed up PHP scripts.

http://pecl.php.net/package/APC

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

Installing APC Cache is easy, just run

pecl install APC

For more details, see

http://webhostingneeds.com/Apc

Installing yamdi from source

Posted on May 13, 2009 with No Comments

yamdi is a metadata injector for FLV files like flvtool2.

To install yamdi, run


cd /usr/local/src
wget http://hivelocity.dl.sourceforge.net/sourceforge/yamdi/yamdi-1.4.tar.gz
tar -zxvf yamdi-1.4.tar.gz
cd yamdi-1.4
gcc yamdi.c -o yamdi -O2 -Wall
mv yamdi /usr/bin/

yamdi 1.4 is latest version at the time of installation. You need to check if a newer version is available for download at yamdi site http://yamdi.sourceforge.net/

Installing pecl uploadprogress

Posted on May 7, 2009 with No Comments

Download latest software from

http://pecl.php.net/package/uploadprogress

Install

cd /usr/local/src
wget http://pecl.php.net/get/uploadprogress
tar -zxvf uploadprogress-*.tgz
cd uploadprogress-*
phpize
./configure
make
make install

make install will show

# make install
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
#

There will be line with the above path in php.ini

Edit php.ini file and add

extension = "uploadprogress.so"

Below the line

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"

Now php -m will list uploadprogressbar as a module

Now restart web server

service httpd restart

You will see following in phpinfo page


pecl_uploadprogress