• Raspberry PI Boom! What a useful tiny useful computer.

  • Enter Slide 2 Title Here

  • Enter Slide 3 Title Here

Tuesday, January 29, 2013

APC - Caching support system for PHP

ACP is an alternative caching support system for PHP. It enables PHP intermediate code to be
cached and improve the performance of Apache2 and other programs which may execute PHP
code.

To install APC support system for PHP:
1. Launch putty and login SSH to the system
2. Launch the following command:
apt-get install php-pear php5-dev apache2-prefork-dev build-essential make && pecl install apc
3.Edit the php.ini configuration file to include apc extension module:
nano /etc/php5/apache2/php.ini
4. Add the following text to the file, in the Dynamic Extension section, some way down the file:
extension=apc.so
5. restart the apache system by:
service apache2 restart

Monday, January 28, 2013

Install simple LAMP to Raspberry PI(Raspbian)

Simple tutorial on creating LAMP server with Raspberry Pi

What is LAMP? it stands for Linux operating system, Apache Web server, MYSQL database server, and also PHP or Pearl Programming language.

Step by step:
1. To install Apache Web Server type the following command to the terminal:
sudo apt-get install apache2

2. To install mysql Server, type this:
sudo apt-get install mysql-server

3. To install PHP:
sudo apt-get install php5
sudo apt-get install php5-mysql

4. Done, create a simple PHP file with:

phpinfo();
?>

5. Save the PHP script to:
/var/www/index.php

6. Done, browse to /index.php from browser will do.

Reference from: Penguin Tutor