1

Topic: Installing PHP-MemCache Module for PHP with Sharetronix

So you want to increase the performance of your sharetronix portal by installing the “PHP-MemCache Module” with your server. And enabling the configuration with your sharetronix installation, then the tutorial is for you.

Note:
This tutorial is for the servers where you have root access, for shared web hosting holders can ask your web hosting service providers for ask them install on behalf of you.
This tutorial is based on “centos” operating system, for other linux platform the commands and the installations steps may vary.

You need to activate the RPMForge custom repository (formely known as Dag Wieers): http://dag.wieers.com/rpm/packages/rpmforge-release/

Grap the RPM for  core file of PHP-MemCache with this command

yum install --enablerepo=rpmforge memcached

Within minutes PHP-MemCache module extension installed with your server.
You can test your installation by typing the command

memcached -m 512 -u nobody –vv

if its executes without error ,you can find that the module installed successfully

Then the next step is install the PHP MemCache extension on your server so that the installed PHP MemCache module will be enabled with your PHP installation

For this execute the commands

cd /files/download/

wget http://pecl.php.net/get/memcache-2.1.2.tgz

tar -xvf memcache-2.1.2.tgz

cd memcache-2.1.2

phpize && ./configure --enable-memcache && make

Copy the file memcache.so to the default module directory.

vi /etc/php.ini

Add

extension=memcache.so
/etc/init.d/httpd restart

Now you can check your PHP info about installation of the PHP-Memcache extension

http://i25.tinypic.com/11go7lw.jpg

Further Reference

http://php.net/manual/en/book.memcache.php
http://www.howtoforge.com/php_memcache_centos5.0


If you still found its harder to install then you can ask your web hosting service providers do it for you. Most of VPS or Dedicated Server service providers do it with small fees or if you lucky they will do it for free.
If you want alternate methods you can hire professionals to do if you as a paid service ( You can also look for our Buy&sell section to hire the  professionals )

Special Note :
If you are paid  installation service provider you can list your profile on our Buy&sell section to get work hired.

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time