First, PHP is a programming language and MySQL is a SGDB (database). Both are distinct and independent of each other.
The fact of finding many materials addressing the two is because they are the most popular. Simply this.
Packages
What you will most find is materials with the LAMP or WAMP set:
L->Linux
A->Apache
M->MySQL
P->PHP
W->Windows
A->Apache
M->MySQL
P->PHP
Another popular set is XAMP
X->Windows, Linux, OS-X (mac)
A->Apache
M->MySQL
P->PHP
Why is the LAMP set so popular?
Simply because there are no licensing costs, they are open-source and can be used commercially.
But then you ask why there is little or no material for PGSQL (postgre)? After all it is also an open source database.
At this point we are talking about capitalism.
Capitalism, marketing
In an analogy, you have a bar where it offers 2 beers. One is popular and widely accepted the other is as good as but little known. To attract customers to your bar you will not put a sign on the door with the unknown brand of beer. Customers would go straight and go to another bar where there is a poster with the popular beer usually accompanied by the image of a person famous at the time.
That is, a book titled "php and mysql" will sell much more than a "php postgre" book.
Hosting servers also give preference to the most popular and low-cost suites, in the case of LAMP.
MariaDB
obs: You will find many packages encouraging MariaDB and discouraging the use of MySQL. This is a long discussion and controversial subject so it is not possible to comment here. But basically MariaDB is MySQL. It was born after a dispute between the creator of MySQL and Oracle.