Thanks for the response obs, i'm pretty sure I installed PHP from "apt-get install php5"
Quote:
dpkg -l | grep php
ii libapache2-mod-php5 5.2.4-2ubuntu5.10 server-side, HTML-embedded scripting languag
ii php-pear 5.2.4-2ubuntu5.10 PEAR - PHP Extension and Application Reposit
ii php5 5.2.4-2ubuntu5.10 server-side, HTML-embedded scripting languag
ii php5-cli 5.2.4-2ubuntu5.10 command-line interpreter for the php5 script
ii php5-common 5.2.4-2ubuntu5.10 Common files for packages built from the php
ii php5-curl 5.2.4-2ubuntu5.10 CURL module for php5
ii php5-dev 5.2.4-2ubuntu5.10 Files for PHP5 module development
ii php5-gd 5.2.4-2ubuntu5.10 GD module for php5
ii php5-mcrypt 5.2.3-0ubuntu1 MCrypt module for php5
ii php5-mysql 5.2.4-2ubuntu5.10 MySQL module for php5
ii php5-suhosin 0.9.22-1 advanced protection module for php5
ii phpmyadmin 4:2.11.3-1ubuntu1.3 Administrate MySQL over the WWW
Quote:
cd /home/source
mkdir apc
cd apc
wget
http://pecl.php.net/get/APC-3.1.3p1.tgztar -xzvf APC-3.1.3p1.tgz
cd APC-3.1.3p1
phpize
./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/bin/php-config
make
make test
make install
echo extension="apc.so" >> /etc/php5/apache2/php.ini
cp apc.php /home/public_html/greenandgoldrugby.com/public/
cp /home/source/apc/APC-3.1.3p1/modules/apc.so /usr/lib/php5/20060613+lfs/apc.so
/etc/init.d/apache2 restart
vi /etc/php5/apache2/conf.d/suhosin.ini