PHP APCU on Debian

apt install gcc make autoconf libc-dev pkg-config php-dev
pecl channel-update pecl.php.net
pecl install apcu

You should add “extension=apcu.so” to php.ini

/etc/php/8.2/fpm/conf.d/20-apcu.ini

or try:

echo "extension=apcu.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
Posted in Hosting, Informacione tehnologije | Tagged , | Leave a comment

Kali Linux on Windows (WSL)

How to install Kali linux on Windows via Windows Subsystem for Linux

Continue reading
Posted in Informacione tehnologije, Linux, Virtualizacija | Tagged , , | Leave a comment

PHP vs Python pack format comparation

Differences between PHP and Python pack/unpack format characters

Continue reading
Posted in Informacione tehnologije, Programiranje | Tagged , | Leave a comment

What’s new in PHP 8

After a lot of to-ing and fro-ing as to when PHP 8 would be released, the developers have now announced that November 26th, 2020 is the date we’re waiting for.

The new version of PHP is expected to come with some new features that offer web developers many additional possibilities.

JIT Compiler, JSON extension always activated, Union Types, Static return type, WeakMap, Use ::class for objects, Stringable interface, Convert DateTime, Type annotations, Type errors…

Continue reading
Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , | 1 Comment

Fixing postfix and saslauthd: cannot connect to saslauthd

If you are having issues getting postfix email server to authenticate with saslauthd, your solution might be found in a missing symlink. Remember that postifx runs in a chroot environment. Continue reading

Posted in Drugi pišu, Hosting, Internet, Linux | Tagged , | 2 Comments

PHP list() and Shorthand for Array Destructuring

PHP construct list() or its shorthand can be useful in many cases. It can be very useful to use it with PHP functions that returns arrays. Supun Kavinda have interesting article about.

Continue reading
Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , , | Leave a comment

25+ JavaScript Shorthand Coding Techniques

This really is a must read for any JavaScript developer. Michael Wanyoike, Sam Deering have written this guide to shorthand JavaScript coding techniques that they have picked up over the years. To help you understand what is going on, they have included the longhand versions to give some coding perspective.

Continue reading
Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , | Leave a comment

XenServer problem sa zaglavljenom mašinom

U novoj verziji XenServer-a (7.x) može se desiti da dođe do problema sa kernelom na nekim virtualnim mašinama. Continue reading

Posted in Hosting, Informacione tehnologije, Virtualizacija | Tagged , | 2 Comments

Otkriveni propusti u Intelovim čipovima i čipovima drugih proizvođača

Ozbiljni sigurnosni propusti na računarskim procesorima Intela i drugih proizvođača čipova mogli bi da omoguće zloupotrebe lozinki i drugih osetljivih podataka iz memorije sistema, saopštili su stručnjaci tehnološke kompanije Gugl. Continue reading

Posted in Drugi pišu, Hardver (oprema), Informacione tehnologije, Linux | Tagged , | 3 Comments

Da li je svet spreman za električne automobile? – Srbija nije!

U svetu su sve popularniji, na našim ulicama gotovo ih je nemoguće videti. Električni automobili obeležiće nadolazeću budućnost, da li smo spremni za njih?
Da li je svet spreman za električne automobile? – Srbija nije! Continue reading

Posted in Ekonomija i finansije | Tagged | Leave a comment