


Keeping the site online is challenging, with everyone blocking Ads 😔. nixCraft is a one-person show, and many of you use Adblocker. 🥺 Was this helpful? Please add a comment to show your appreciation or feedback. Join the nixCraft community via RSS Feed or Email Newsletter. He wrote more than 7k+ posts and helped numerous readers to master IT topics. Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. For more information see this page here, here, and here. This guide explained how to install Linux, Apache, MariaDB, PHP (LAMP) stack on Debian Linux 10. It is time you delete that page as it exposed sensitive information using the rm command: This page indicates that your PHP 7.3 is working correctly on a LAMP server.

Sudo find /var/www// -type d -print0 | sudo xargs -0 -I " Use the chown command and chmod command commands to set tight permissions on your Apache DocumentRoot: on Debian 10 This is a test LAMP server. Sudo cp -v /etc/apache2/sites-available/nf /etc/apache2/sites-available/Update /etc/apache2/sites-available/as follows: Make a copy of the default Apache configuration for your domain called as follows using the cp command: Sudo systemctl restart rvice How to create your first virtual hosts To activate the new configuration, you need to run: Finally, disable the Apache event module and enable httpd prefork, run: # vim: syntax = apache ts=4 sw=4 sts=4 sr noetĪbove settings should be adjusted as per your deployment’s needs. # MaxConnectionsPerChild: maximum number of requests a server process serves # MaxRequestWorkers: maximum number of server processes allowed to start # MaxSpareServers: maximum number of server processes which are kept spare # MinSpareServers: minimum number of server processes which are kept spare # StartServers: number of server processes to start
