Quite an amature question here, but Google can't give me answers.
I am setting up apache on my computer to contain my php and html files. The purpose of this is I wish to be able to use mariadb to store information in which the php files can communicate with this db for my website.
Previously I could have php files on a paid web server and query my mysql database through there as it was straightforward and mysql was easy to use through their control panel.
My question is, how will my php files, residing in the htdocs folder, query the Maria database I have installed on my computer. What even is the process for this to happen?
Tia.