Your Own Server: Difference between revisions

2 bytes added ,  21:07, 25 July 2022
m
Line 329: Line 329:
=== Restarting Web Server ===
=== Restarting Web Server ===


After all these installs, we need to restart your web server (so it loads the PHP and MariaDB), if you have installed apache 2 do this by typing <code>sudo service apache2 restart</code> or  (if we just want the Apache configuration reloaded) by typing <code>sudo systemctl reload apache2</code>.  Similar commands apply for other web servers.
After all these installs, we need to restart your web server (so it loads the PHP and MariaDB), if you have installed apache 2 do this by typing <code>sudo systemctl restart apache2</code> or  (if we just want the Apache configuration reloaded) by typing <code>sudo systemctl reload apache2</code>.  Similar commands apply for other web servers.


We will need to restart Apache (or whichever web server we installed) any time we change our php.ini files, database passwords, and anything else that is checked when the web server starts.
We will need to restart Apache (or whichever web server we installed) any time we change our php.ini files, database passwords, and anything else that is checked when the web server starts.