RSS

Daily Archives: February 24, 2010

Install the Alternative PHP Cache (APC)

The Alternative PHP Cache (APC) is a free, open, and robust framework for caching and optimizing PHP intermediate code.

yum install php-pear
yum install php-devel httpd-devel
yum groupinstall ‘Development Tools’
yum groupinstall ‘Development Libraries’
pecl install apc

http://si2.php.net/manual/en/install.pecl.php

 
Leave a comment

Posted by on February 24, 2010 in CakePHP, CentOS, Fedora, Linux, Open Source, php, Tips

 

Tags: , , , ,

Install Fonts in Fedora

1. Log in as root or use su at command line
$ su
2. Go to the font storage directory:
# cd /usr/share/fonts
3. Create a subdirectory for the Arial fonts:
# mkdir arial
4. Copy the Arial fonts into this directory from font sites or windows FONTS folder.
5. Make the font files accessible systemwide:
# chmod 0775 -R arial
6. Run fc-cache to cache the arial fonts on system:
# fc-cache arial

 
Leave a comment

Posted by on February 24, 2010 in CentOS, Fedora, Linux, Open Source, Tips, Tricks

 

Tags: , , ,

 
Follow

Get every new post delivered to your Inbox.