Thread: enbeling class
View Single Post
  #10  
Old 20th December 2018, 16:30
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
In MYPHPADMIN you will have this



`avatar` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`av_w` smallint(3) unsigned NOT NULL DEFAULT '0',
`av_h` smallint(3) unsigned NOT NULL DEFAULT '0',
`avatars` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'yes',
`offavatar` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'no',


Now have you adder a class user to the code like owner or something if you have you need too flush the memcach too and set your self up with yes to everything too

Also have you installed the ACP Via the SSH too
By using this in the SHELL To flush memcach
Assume memcached is listening at port 11211 of localhost
Use the following simple command to flush all data:
echo "flush_all" | nc 127.0.0.1 11211
In fact, you can also issue other commands as well, e.g.
echo "stats" | nc 127.0.0.1 11211

Also in the config you have
$INSTALLER09['bucket_allowed'] = 0;
$INSTALLER09['bucket_dir'] = ROOT_DIR.'/bitbucket'; // must be writable for httpd user

ACP

http://www.tecmint.com/install-apc-a...centos-fedora/


yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
echo "extension=apc.so" > /etc/php.d/apc.ini
service httpd restart
OR
/etc/init.d/httpd restart

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
echo "extension=apc.so" > /etc/php.d/apc.ini
Memcach INSTALL

rpm -Uvh http://dl.fedoraproject.org/pub/epel...5-4.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterp...-release-5.rpm

yum install memcached
configure

nano -w /etc/sysconfig/memcached
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="512"
OPTIONS=""


set to start on boot and start

# Set Memcached to start automatically on boot
chkconfig memcached on
# Start Memcached
/etc/init.d/memcached start


now Memcache Module and PHP
yum install php php-pecl-memcache
yum install php php-pecl-memcached


restart httpd

/etc/init.d/httpd restart

Last edited by Napon; 20th December 2018 at 16:50.
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
papad (20th December 2018)