Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Install u-232 v3 localhos (http://www.bvlist.com/showthread.php?t=8336)

Typon 29th September 2012 17:11

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:wild:

:sos:

Phogo 29th September 2012 18:31

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

Typon 29th September 2012 18:41

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

Phogo 29th September 2012 18:44

Did you install memcache like the guide said?

Typon 29th September 2012 19:28

Quote:

Originally Posted by Phogo (Post 36756)
Did you install memcache like the guide said?

I install it like this:
Code:

cd c:/memcached
memcached -d install
memcached -d start


smoky28 29th September 2012 19:34

memcache install Windows o Linux ?

Typon 29th September 2012 19:38

Windows 7

Joe 30th September 2012 06:43

I can set it up on a small server for you an shit for $40 .

Phogo 30th September 2012 13:23

Quote:

Originally Posted by Typon (Post 36759)
Windows 7

Read the guide, or the link to the guide. It really isn't difficult.

Typon 4th October 2012 19:21

I have done it all... But it dosn't work.

yossi2684 12th October 2012 18:52

i have the same error but it tells me when i start the apache that

"PHP Startup: memcache: Unable to initialize module
Mudule compiled with build ID=API20090626,TS,VC9
PHP compiled with build ID=API20090626,TS,VC6
These options need to match "

so where do i get match ?

Bump: fixed it buy google memcache.dll vc6
and now i get in the web this

"Server's version: 1.2.6
Store data in the cache (data will expire in 10 seconds)
Data from the cache:
object(stdClass)#3 (2) { ["str_attr"]=> string(4) "test" ["int_attr"]=> int(123) }"

its good?

josh1512 18th October 2012 20:45

Memcache Install
 
Quote:

Originally Posted by Typon (Post 36753)
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:wild:

:sos:

Try using xampp 1.7.7 from here http://www.oldapps.com/xampp.php?app...69FCEF2F4577BE as for some reason installing memcache on the latest dosent seem to work propley

Then to install memcache do the following:

Xampp 1.7.7 comes with
  • Apache 2.2.21
  • MySQL 5.5.16
  • PHP 5.3.8
  • phpMyAdmin 3.4.5
  • FileZilla FTP Server 0.9.39
  • Tomcat 7.0.21 (with mod_proxy_ajp as connector)

Theres good instructions about the Xampp install prosess so install that first and then we do the Memcached.

1.
Go to your php.ini file usually located in C:/xampp/php/php.ini

and add
extension=php_memcache.dll

below the other ;extension= lines.

2.
Then add the following to just below the new line

[Memcache]
memcache.allow_failover = 1
memcache.max_failover_attempts=20
memcache.chunk_size =8192
memcache.default_port = 11211

3.

Download the necessary php_memcache.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 "cmd" 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

c:\memcached\memcached.exe -d install

If you dont get any errors it means it’s worked. \o/

9.
Start memcached by typing the following into the command line as an Administrator

c:\memcached\memcached.exe -d start

10.

Restart Apache from the Xampp Control Panel

11.

Test Memcache by creating testmemcache.php file with following code:

$memcache = new Memcache;
$memcache->connect('localhost', 11211) or die ("Could not connect");

$version = $memcache->getVersion();
echo
"Server's version: ".$version."
\n"
;

$tmp_object = new stdClass;
$tmp_object->str_attr = 'test';
$tmp_object->int_attr = 123;

$memcache->set('key', $tmp_object, false, 10) or
die (
"Failed to save data at the server");
echo
"Store data in the cache (data will expire in 10 seconds)

\n"
;

$get_result = $memcache->get('key');
echo
"Data from the cache:
\n"
;

var_dump($get_result);
?>


and put it in into

C:/xampp/htdocs
Open your browser and go http://localhost/testmemcache.php

If you do not see any errors then it has worked. \o/

To install u-232 v3 do the following:

1
: Download the rar folder from: https://github.com/Bigjoos/U-232-V3

2: Unrar everything to this folder: C:\xampp\htdocs

3: Open your web browser and type in: http://yoursite/install - Follow the instructions and fill in all the required data.

4: Now if all goes well you're gonna come to this page: http://d.pr/i/lD7N

5: Remove everything in the address field and type in: http://yoursite In my case it's localhost. You're gonna be prompted to: Delete the install directory but I recomend that you just move it to youre desktop. Just in case something went wrong with the install.

6: Go to youre site: http://yoursite and take signup. Follow the info. Now the first acount in youre tracker is created [ AKA = SysOp ] acount.

7: Log in with youre new acount. Se what titel you have near youre name. If its SysOp everything is done correct. ( DO NOT ENTER STAFFPANEL YET ! )

8: In youre root/cache folder find this file: staff_settings2.php. Open it with a text editor program and change this name: Admin to the name of the account you just created.

9
: Create a new user on entry named: System ensure its: userid2 so you dont need to alter the autoshout function in: include/user_functions.php

hope this has helped :D

Chez 3rd November 2012 11:28

I have U-232 V3 on Xampp (localhost) but after install when i want to go to the homepage is show me this ''Memcache Extension not loaded'' ... i can solve this problem with informations from that tutorial? I have XP ... Thanks and sorry for my bad english!

Phogo 3rd November 2012 16:31

Quote:

Originally Posted by Chez (Post 37186)
I have U-232 V3 on Xampp (localhost) but after install when i want to go to the homepage is show me this ''Memcache Extension not loaded'' ... i can solve this problem with informations from that tutorial? I have XP ... Thanks and sorry for my bad english!

Please use the search function http://www.bvlist.com/search.php

josh1512 4th November 2012 04:27

Quote:

Originally Posted by Chez (Post 37186)
I have U-232 V3 on Xampp (localhost) but after install when i want to go to the homepage is show me this ''Memcache Extension not loaded'' ... i can solve this problem with informations from that tutorial? I have XP ... Thanks and sorry for my bad english!

all the information in the above post if it is done correctly you shouldn't get memcache extension not loaded

Tones 11th November 2012 14:35

Good solid source!!
 
I managed to install this source is a little harder but if you read the instructions carefully installs without problems only thing i blamed is that the amount of work has been made from this source has not put a DHT (an external torrents)

crazyboy666 3rd February 2014 01:29

meaby u will help me i done all things what u write but when delete install folder and go to my localhost i got this error

Code:

dbconn: mysql_select_db: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1
[ imported sql from install ]

any idea how and wher to fix that ?


All times are GMT +2. The time now is 11:29.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.