Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Okies, I have successfully installed the XAMPP and added virtual hosts and am able to make database calls and stuff. The problem I am facing is while trying to enable the memcache module. Currently trying to configure using these links.

  1. h??p://theindexer.wordpress.com/2008/06/02/installing-a-lamp-stack-on-linux-using-xampp-for-linux/
  2. h??p://theindexer.wordpress.com/2008/06/11/installing-xdebug-on-xampp-for-linux/
  3. http://lynxbites.blogspot.com/2009/09/steps-to-install-memcache.html

The problem I am facing is while starting the phpize from /opt/lampp/bin/phpize

I am getting the following error.

Cannot find config.m4. 
Make sure that you run '/opt/lampp/bin/phpize' in the top level source directory of the module

Can any one tell me wat to do for this error and if anyone has any useful links for configuring memcache on linux using XAMPP please paste here.

Thanks.

share|improve this question
    
Any particular reason you are installing XAMPP specifically instead of using your trusty package manager? –  andol Jan 2 '10 at 2:52
add comment

2 Answers

up vote 0 down vote accepted

If I understand your question properly, then it seems like you're in the wrong place when trying to run the command.

You need to download the source from somewhere, extract it into a folder, cd into that folder and then run the program.

So:

 wget http://pecl.php.net/get/memcache-2.2.5.tgz
 tar -xvf memcache-2.2.5.tgz
 cd memcache-2.2.5
 /opt/lampp/bin/phpize

and then go back to following your instructions.

share|improve this answer
    
Thanks dude, this worked. –  Zaje Jan 15 '10 at 12:54
add comment

Isn't Mint based on debian/ubuntu? Why don't you just install the existing packages for php and mysql, mint probably also includes the php5-memcache package that is in ubuntu. This will be less work, and more secure in the long run.

share|improve this answer
    
Currently using Linux Mint 8. While try to install from the repo its giving the 404 error. Hence as i couldnt find a proper instruction set to setup a LAMP environment from scratch switched to XAMPP. –  Zaje Jan 15 '10 at 12:49
    
you had one problem(a bad mirror maybe?) Now you have two problems. –  Justin Jan 16 '10 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.