Your Own Server: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
4 bytes added ,  21:10, 25 July 2022
m
 
(One intermediate revision by the same user not shown)
Line 188: Line 188:




=== Install Maria database ===
=== Install MariaDB database ===


MySQL database software is controlled by Oracle and not made available for inclusion in Raspberry Pi repository.
MySQL database software is controlled by Oracle and not made available for inclusion in Raspberry Pi repository.
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.

Navigation menu