NextCloud APCu not available for local cache

nextcloud dashboard

When trying to upgrade nextcloud, I get the following error www-data@mail:/www/nextcloud$ php7.3 occ upgrade An unhandled exception has been thrown: OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?) www-data@mail:/www/nextcloud$ To fix this, you need to install APC cache. apt install php7.3-apcu For CLI, you need to … Read more

How to find java version

To find the java version, run the command java –version Example boby@sok-01:~$ java –version openjdk 14.0.2 2020-07-14 OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing) boby@sok-01:~$

First C Program

To create your first C Program, open any text editor, copy and paste the following code #include int main() { printf (“Tis is my C program”); } Save it as hello.c Before you can run this program, you need to compile it. To compile run gcc -o hello hello.c Make the program executable with chmod … Read more

Codeigniter 3 session not working

On a web application, session not working. I verified PHP session is working with script https://gist.github.com/serverok/8c504205ae0357e0c6488eab880a77bf When refreshing the script, the number start increasing, that confirms PHP session works fine on the server. As for Codeigniter, we need to check the session settings in file application/config/config.php $config[‘sess_driver’] = ‘files’; $config[‘sess_cookie_name’] = ‘ci_session’; $config[‘sess_expiration’] = 7200; … Read more

Vue.js

Vue.js is a popular javascript framework. To install Vue, you need Node.js installed. sudo su curl -sL https://deb.nodesource.com/setup_15.x | bash – apt-get install -y nodejs apt-get install gcc g++ make Install Vue.js with sudo npm install -g @vue/cli Verify Vue.js working with vue –version To create a project, run vue create app1 cd app1 npm … Read more

How to find Laravel Framework Version

Laravel is a popular PHP framework. In this post, I will show how to check laravel version. To find the Laravel Framework version, run Another way to find Laravel version is to check the file composer.lock present in the Laravel web root directory. You will see something like the following In this case, we are … Read more