lookipod.blogg.se

Xampp for mac m1
Xampp for mac m1






xampp for mac m1

Or if PHP was compiled for x86_64 architecture, run this command: arch -x86_64 sudo pecl install xdebug Then if it's arm64 run this command: arch -arm64 sudo pecl install xdebug You can find out which one is it by running this command. And the Pecl tool can't guess which one is it, so you will need to run a specific command depending on the the architecture. PHP on M1 can either be compiled for the x86_64 or arm64 architecture. Make sure you are in the directory with the Xdebug sources and run this command: phpizeĬhoose which command to run depending on your Mac architecture: Or download the sources from the official Xdebug page and unpack them. You will need sources of Xdebug, you can just clone the xdebug repository git clone When you were installing XAMPP, did you check both XAMP Core Files and XAMPP Developer Files? If not, you will need to reinstall XAMPP. libtool helps to manage creation of static and dynamic libraries on various Unix based systems.automake then uses the output of autoconf and creates a portable makefile.

xampp for mac m1

autoconf is a tool for producing configure scripts from m4 language.These tools are part of GNU Build system and are necessary to be able to compile Xdebug. Once you have Homebrew installed, run the following command: brew install autoconf automake libtool Paste the following command in a macOS Terminal: /bin/bash -c "$(curl -fsSL )" 2. Install Homebrewįirst, you will need homebrew ( ) which is a package manager for Mac. In case you've installed PHP with Homebrew, you can check this tutorial instead.

XAMPP FOR MAC M1 HOW TO

This tutorial shows one way how to get it on Mac - we will be compiling Xdebug from sources.

xampp for mac m1

But unfortunately, XAMPP doesn't come bundled with the Xdebug, which is an extension that enables PHP debugging. XAMPP is a very popular cross-platform Apache distribution containing MariaDB (fork of MySQL), PHP, and Perl.








Xampp for mac m1