E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file.

When updating your old Debian Stretch server, you experience the following error:E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file. Solution: Use a mirror of the old repository. echo “deb https://debian.octopuce.fr/snapshots/sury-php/stretch-latest/ stretch main” | sudo tee /etc/apt/sources.list.d/php.list wget -qO – https://debian.octopuce.fr/sury-php/apt.gpg | sudo apt-key add – sudo apt update Note: if […]

Read More… from E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file.

Write PHP Array with print_r as debug output to a file instead of echoing it

PHP debugging made easy At some point in our life as PHP developer, we come to the point where we are debugging PHP by checking the values of our variables, arrays and objects.We all know: Its easy to debug in Javascript. You can do something like:console.log(“variable is:”+myVar); This is a problem for PHP debug.You can […]

Read More… from Write PHP Array with print_r as debug output to a file instead of echoing it