Install PHP 8.3 on Debian 12 apt update && apt install -y wget gnupg2 lsb-release wget https://packages.sury.org/php/apt.gpg && apt-key add apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list apt install -y php8.3 After installation check php version php -v Install PHP-FPM and Extensions If you also want to install additional modules, then first...
Month: January 2025
To disable IBus you need to write in the terminal sudo dpkg-divert --package im-config --rename /usr/bin/ibus-daemon After this you need to reboot your computer To turn it back on IBus you need to write in the terminal sudo dpkg-divert --package im-config --rename --remove /usr/bin/ibus-daemon
If you decide to create an online store, then you must decide on the functionality of the site. Then it will be possible to calculate the cost of the work. If you find it difficult to determine the functionality of the site yourself, please contact us using the Feedback format the bottom of this page, and we will try to help you. Choosing a template Creating an online store is possible using a free or paid template. The...
First, create a shell script fakesendmail.sh in the folder /usr/bin/ touch /usr/bin/fakesendmail.sh Add the following script to this file: #!/bin/sh prefix="/var/www/mail" numPath="/var/www/mail" if [ ! -f $numPath/num ]; then echo "0" > $numPath/num fi num=`cat $numPath/num` num=$(($num + 1)) echo $num > $numPath/num name="$prefix/letter_$num.txt" while read line do echo $line >> $name done /bin/true Set...
If you want to add a category description to the category page, you need to open a file that displays categories in your theme, usually this is a file archive.php or category.php and add this code to it <?php echo category_description(get_the_category()[0]->cat_ID); ?> Also you can use function in file functions.php function cat_description(){ if ( is_category() ){ echo category_description(get_the_category()[0]->cat_ID); } } To...