|
#1
|
|||
|
|||
help please
hello
I install gazelle and run intall/index.php and create config.php its ok... after instalation on index.php show this error Fatal error: Class 'Memcache' not found in C:\xampp\htdocs\upload\classes\class_cache.php on line 213 my server use xampp 1.6.7, which Advisory?? help me please sorry my bad english Last edited by turtuga; 2nd November 2008 at 21:46. |
#2
|
||||
|
||||
turtuga, go to your xampp install directory ->apache/bin, there you should have php.ini file
find this line: Code:
;extension=php_memcache.dll Code:
extension=php_memcache.dll Cheers!
__________________
PHP Code:
|
#3
|
|||
|
|||
johnake thanks now work a big thanks.... ;)
where I put this code above??? and I now have another problem in all pages show this error Code:
Warning: Memcache::set() [memcache.set]: Failed to extract 'connection' variable from object in C:\xampp\htdocs\upload\classes\class_cache.php on line 339 another question as I change the categories already I m modify config upload not work : ( johnake please help me and big thanks for the help Last edited by turtuga; 3rd November 2008 at 20:43. Reason: Use the forum ATTACHMENT function for the photos not imageshack ! And put the erros inside [code] tags ! This is a warning ! |
#4
|
||||
|
||||
Tortuga it is most likely you use a windows server. Memcached was in fact built with Linux in mind (and I don't blame them :). But every problem has a workaround... somehow. So here it is:
1. Download the Win32 memcache daemon from here. (I think this dude compiled it from the memcached source and modified it for Windows users). 2. Now you have to install memcache as a standalone service: a)Unzip and copy the binaries to your desired directory (eg. c:\memcached) [you should see: memcached.exe and msvcr71.dll]3.Now you have to test it to see if everything's allright: test.php PHP Code:
If you wanna increase the cache size from 64mb (which is default) to say 256mb, go to regedit to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\memcached Server, find the ImagePath entry and change it to somethin' like this: “C:\memcached\memcached.exe” -d runservice -m 256 Now when you restart the service, memcache will run with 256mb of memory. Cheers!
__________________
PHP Code:
|
The Following User Says Thank You to johnake For This Useful Post: | ||
turtuga (10th November 2008)
|
|
|