I recently bought a new MacBook Air M1 chipset. Now the issue that I am facing is that while I was trying to install PHP 7.4, Apache, MySQL, and PHPMyAdmin on the system it couldn't allow me to complete the installation process. As we all know that all this software is not currently providing support on the M1 chipset.
Is there any other alternative way to install this software with this chipset?
I have installed XAMPP server in my MacBook Air M1 but it is throwing me error Please check
Thanks in Advance.
Anyway, I concluded that Xampp was probably not compatible with the M1 (like many software) and moved on to other options. Alas! Today, I found myself in a similar position. I needed to self host a Learning Management System using Drupal, and I needed Xampp (to be my server) for that.
I would suggest you go through Is apple silicon ready? first. Here You can get acknowledgement if your software is M1 optimized or not.
Also they have mentioned is the software support is available through Rosetta2 or not too.
For PHP, It's not advisable to upgrade the system-provided PHP, but it's also not necessary.
brew link
can be used to decide which PHP is utilized. brew link [email protected]
should do the trick; this can be also used to switch PHP versions around, i.e. brew link [email protected]
will switch you over to that while leaving both versions installed and available directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With