…asdf
I'm using WAMP on my Windows PC, so I wanted something similar on my Mac. The most recommended stack i XAMPP and I was evaluating it for my PC as well, so I didn't look much further.
What I didn't know at that time and still amazes me is Apache and PHP are actually present in standard MacOS! So you basically only need to enable and configure them, plus install MySQL or MariaDB. With this knowledge some steps started making sense, because they're all about pointing to the “right” (XAMPP) version of PHP.
Open Terminal
Ensure XAMPP's PHP is being used. Modify your PATH to prioritize the PHP installation from XAMPP:
This step is necessary for phpize
command to work. I originally skipped it and then I got command not found: phpize
error.
check php version
apple silicon
add path
asdf
download and prepare xdebug
Configure and compile Xdebug:
asdf
asdfas
asdf
asdf
Verify the installation. Create a phpinfo.php file in your web root directory with the following content:
Access this file via your web browser (e.g., http://localhost/phpinfo.php) and look for the Xdebug section to confirm it is loaded correctly.
With another device in use I have no other choice than to finally follow through on content sync in Quiky
Sync