What i need to download:
zlib-1.2.5.tar.gz
http://zlib.net/zlib-1.2.5.tar.gz
libxml2-2.7.2.tar.gz
ftp://xmlsoft.org/libxml2/libxml2-2.7.2.tar.gz
php-5.3.4.tar.bz2
http://ar.php.net/distributions/php-5.3.4.tar.bz2
memcache-2.2.6.tgz
http://pecl.php.net/get/memcache-2.2.6.tgz
libevent-2.0.10-stable.tar.gz
http://www.monkey.org/~provos/libevent-2.0.10-stable.tar.gz
memcached-1.4.5.tar.gz
http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz

All the files above are locate in /home/davidhhuan/Software 

 

1. Install the libevent-2.0.10-stable.tar.gz 

cd /home/davidhhuan/Software
tar zxf libevent
-2.0.10-stable.tar.gz
cd libevent
-2.0.10-stable
.
/configure
sudo make
sudo make instsall

 

2. Install memcached-1.4.5.tar.gz 

cd /home/davidhhuan/Software
tar zxf memcached
-1.4.5.tar.gz
cd memcached
-1.4.5
.
/configure
sudo make
sudo make install

  

3. Install memcache-2.2.6.tgz 

cd /home/davidhhuan/Software
tar zxf memcache
-2.2.6.tgz
cd memcache
-2.2.6
/opt/lampp/bin/phpize

Ok, here i got these error: 

grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: 
/opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: 
/opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring 
for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:

相关文章: