Hi
I have just cleared off my Macbook Air (reset it) and am now about to install Laravel. The reset was partly prompted by an issue between Laravel and MySQL (which I believe is, in fact, between PHP and MySQL).
So, here I am with a clean Mojave 10.14 Macbook Air laptop; about to install...
Well, here is the rub.
If I start to install MySQL I am instructed to use the SHA256 enhanced encryption routine (MySQL 8). This is where the issue was before, since Laravel would not connect to MySQL.
The issue appears to be PHP, and Mojave installed PHP 7.1 by default, but it makes sense to upgrade this to 7.3
Yet, when I go to do so I am told by the installer that Mojave 10.14 creates a serious issue; meaning that PHP will now not work with Apache.
So, I think about upgrading Apache; but do I need to?
How do I get PHP 7.3 to work with the installed Apache on the Mac?
Do I need to?
Or should I run with the pre-installed 7.1; but then how do I get MySQL to communicate with Laravel if the SHA256 issue arises again?
I do recall that the last time I tried this, MySQL used an IP along the lines of 196.x.y.z whilst Laravel through Composer was using 127.0.0.1.
Should they not be the same IP?
If so, how do I get that to happen (given I have addressed the issues described above - which I haven't yet solved)?