Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 29th September 2012, 17:11
Typon Typon is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 16
Question Install u-232 v3 localhos
Hey. I got trouble with this. So if there are anyone out there who got a guide to install v3 on xampp localhost, please tell me :-)

I know i just can use v1 or v2, but i really want v3 :-)

Typon

Reply With Quote
  #2  
Old 29th September 2012, 18:31
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
The only thing that you should need extra is memcache

Installing Memcached on Xampp and Windows 7

1a. Go to your php.ini file usually located in C:/xampp/php/php.ini
find this line:

Code:
;extension=php_memcache.dll
and replace it with:

Code:
extension=php_memcache.dll
1b. If you cannot find this line simply add the following line to below where all the ;extension= lines.

Code:
extension=php_memcache.dll
2. Add the following to just below the new line
Code:
[Memcache]  
memcache.allow_failover = 1  
memcache.max_failover_attempts=20  
memcache.chunk_size =8192  
memcache.default_port = 11211
3. Download the necessary php_memecache.dll file from the following location.

http://downloads.php.net/pierre/

For windows 7 I used the following file:

http://downloads.php.net/pierre/php_....3-vc9-x86.zip


4. Unzip the php_memcache.dll file and put it into your php ext folder. Usually C:/xampp/php/ext/

5. Download memcached for windows here (make sure it’s the win32 binary):

http://code.jellycan.com/memcached/

6. Unzip and put the memcache.exe file into a desired directory (e.g. c:/memcached/)

7. Open command line in Windows Administrator Mode.
Click start, type in ‘Search programs and Files’ box, wait for the program cmd.exe to appear, right hand click on the icon and select run as administrator

8. Install the memcache service
Type the following into the command line

Code:
c:\memcached\memcached.exe -d install
If you dont get any errors it means it’s worked.

9. Start memcached
Type the following into the command line

Code:
c:\memcached\memcached.exe -d start, or net start “memcached Server”
10. Restart Xampp Apache

11. Test Memcache
Create a php file and paste the following code. Then go to the page. If you do not see any errors then it has worked.

PHP Code:
<?php  
$memcache 
= new Memcache;  
$memcache->connect('localhost'11211) or die ("Could not connect");    $version $memcache->getVersion();  
echo 
"Server's version: ".$version."<br/>\n";  $tmp_object = new stdClass;  $tmp_object->str_attr 'test'$tmp_object->int_attr 123$memcache->set('key'$tmp_objectfalse10) or  die ("Failed to save data at the server"); echo "Store data in the cache (data will expire in 10 seconds) <br/>\n"$get_result $memcache->get('key');  echo "Data from the cache:<br/>\n";  var_dump($get_result);  ?>
Guide borrowed from here
Reply With Quote
  #3  
Old 29th September 2012, 18:41
Typon Typon is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 16
Default
i get this error

Code:
Fatal error: Class 'Memcache' not found in C:\xampp\htdocs\index.php on line 2
Code:
extension=php_memcache.dll
[Memcache]  
memcache.allow_failover = 1  
memcache.max_failover_attempts=20  
memcache.chunk_size =8192  
memcache.default_port = 11211
extension=php_bz2.dll
;extension=php_curl.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mssql.dll
;extension=php_mbstring.dll
;extension=php_exif.dll      ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll

; The MIBS data available in the PHP distribution must be installed. 
; See http://www.php.net/manual/en/snmp.installation.php 
;extension=php_snmp.dll

extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
where i placed the extension
Reply With Quote
  #4  
Old 29th September 2012, 18:44
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Did you install memcache like the guide said?
Reply With Quote
  #5  
Old 29th September 2012, 19:28
Typon Typon is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 16
Default
Quote:
Originally Posted by Phogo View Post
Did you install memcache like the guide said?
I install it like this:
Code:
cd c:/memcached
memcached -d install
memcached -d start
Reply With Quote
  #6  
Old 29th September 2012, 19:34
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Default
memcache install Windows o Linux ?
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
  #7  
Old 29th September 2012, 19:38
Typon Typon is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 16
Default
Windows 7
Reply With Quote
  #8  
Old 30th September 2012, 06:43
Joe Joe is offline
Senior Member
 
Join Date: Apr 2010
P2P
Posts: 167
Default
I can set it up on a small server for you an shit for $40 .
Reply With Quote
  #9  
Old 30th September 2012, 13:23
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Quote:
Originally Posted by Typon View Post
Windows 7
Read the guide, or the link to the guide. It really isn't difficult.
Reply With Quote
  #10  
Old 4th October 2012, 19:21
Typon Typon is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 16
Default
I have done it all... But it dosn't work.
Reply With Quote
Reply

Tags
install , localhos , u232 , v3

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:34. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.