Category: WebProgramming / WebDev / HTML / PHP

2024 is the year + SuperCharge IT processes with OpenSource + GNU Linux + kvm + there is still more potential + Intel Xeon vs AMD EPYC vs Altra ARM CPU vs Apple M1 benchmark battle! + M$ Office for GNU Linux

Hetzner is already doing it with very energy efficient Ampere ARM servers delivering world-class-cost-and-energy-saving-virtual-servers. (Gigabyte has them as well UNTESTED!) #SuperCharge #IT processes with #OpenSource + #GNU #Linux (call it #GNU #Linux and give the dude that wrote gcc some […]

PHP Composer how to install and how to usage

always say something positive first: then the critique: follow the excellent guide: mkdir /var/www/html/composer cd /var/www/html/composer php -r “copy(‘’, ‘composer-setup.php’);” php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ‘THISWILLHAVECHANGEDBYNOW’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } […]

PHP HowTo – correctly search for a string inside a string

the developer can name this file ./EXAMPLES/ARRAY/find.php please note the strpos or stripos !== false without it, if a substring is found within a string at position 0 for if 0 equals false <?php $mystring = ‘abc’; $findme = ‘a’; […]

PHP HowTo – sort array of arrays

usage: $devices_array_sorted = ArrayOfArraysSort($devices_array, “AverageWatts”,SORT_ASC); the function: /* sort array that contains a lot of arrays by key */ function ArrayOfArraysSort($array,$key,$mode) { // sort by age $sort = array(); foreach($array as $k=>$v) { $sort[$key][$k] = $v[$key]; } # sort by […]

how to setup basic LAMP stack GNU Linux Debian – (Apache2 php7.3 MariaDB) (how to install xdebug – step debugging php requests in eclipse pdt on debian 10 buster (LAMP web development stack)) – how to enable mariadb mysql log file creation logging (also restarts) – how to Error occurred: (1034, “Index for table ‘proc’ is corrupt; try to repair it”)

setup LAMP GNU-Linux Apache2 MariaDB PHP7.3 su – root; # become root apt update; # update system to latest apt upgrade; # database first apt install mariadb-server mariadb-client # set root pwd for database (can be root on dev test […]

JavaScript is evil (= a major security problem)

2020-12: another reason why JavaScript SUCKS badly and websites NEED TO WORK without JS: it might “destroy” NAT security: NAT Slipstreaming allows an attacker to remotely access any TCP/UDP service bound to a victim machine, bypassing the victim’s NAT/firewall (arbitrary […]


  i did just some basic testing… and managed to compile the php7.3 binary – but the make install failed. it would help to have multiple cores… hostnamectl; # tested with Static hostname: CentosSlave Icon name: computer-vm Chassis: vm Operating […]

CentOS Redhat – compile Apache2 from source

i tried to compile under debian…. but it’s way more compli cated. also: you probably do not need all the packages stated here… but i did not have the time to sort those out sorry for that. feel free to […]

Free Web Video Conferencing with firefox

install firefox app and test it for free here: When Browsers start to talk to each other – Open Source HTML5 based Web Video Audio Conferencing WebCam ScreenSharing – Collaboration over internet WebRTC (“Web Real-Time Communication“) enables applications such […]