Help installing memcache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help installing memcache

Postby skunkrecords » 02. January 2008 00:33

Hi, I'm a noob to installing php stuff. I noticed that the memchache module is listed in the php.ini file, so I'm wondering what else I need to do inorder to be able to use it. I want to use something like danga on my site. Last thing, is there a way I can view my localhost on the internet? Can I use my IP somehow to view it? Thanks :D
skunkrecords
 
Posts: 3
Joined: 02. January 2008 00:30

Postby Izzy » 02. January 2008 07:40

Your post requires I write a book to give you all the answers needed.

So you will have to do some work yourself by reading as much as possible about these subjects first.

Then simply have a go and if you get stuck on a specific then please feel free to ask for help.

BTW in the php.ini file, you only need to uncomment this:
;extension=php_memcache.dll
to this - delete the semicolon ;
extension=php_memcache.dll
Save the file and restart Apache to have those edits recognized but always remember to make a backup of any ini or conf file before editing.

The correct php.ini file is located here:
xampp\apache\bin\php.ini

Check that memcache is now active by going to:
http://localhost/xampp/phpinfo.php
or from the menu in the XAMPP Welcome page.

Here are some links to some reading to start you off:

http://us2.php.net/memcache
http://www.google.com/search?q=memcache
http://www.danga.com/memcached/


is there a way I can view my localhost on the internet?

Localhost is not viewable from the Internet, thats why it is named as it is.

You can however, using a virtual host configuration, set up your XAMPP installation to access both the XAMPP Welcome pages and your intended danga site or indeed what ever else you wish to serve to the Internet.

Again some reading will make achieving this much quicker.

Read the file xampp\apache\conf\extra\httpd-vhosts.conf file

Do a search in the XAMPP for Windows Forum using the Category Apache Friends In English, both accessible from the drop menus in the Search Options section and use the keyword vhost or virtualhost etc.

There are many links to info in the returned search results that will help you get started.

Please don't hesitate to post back if you get stuck after having a go at all this.
Good luck.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby skunkrecords » 02. January 2008 19:34

Thats what it was. I was editing php.ini in the php file :oops:
Thanks, thats exactly what I was looking for :D
skunkrecords
 
Posts: 3
Joined: 02. January 2008 00:30


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests