como instalar php en Mac OS X monterey
mi computadora no tiene acceso a internet por lo cual no puedo utilizar programas externos como MacPorts o Homebrew, descargo en una usb PHP 7.4.25 y usando la linea de código recomendada en php ./configure --with-apxs2=/usr/local/apache2/bin/apxs
me da el siguiente error
Configuring SAPI modules
checking for Apache 2 handler module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/apache2/bin/apxs follows:
./configure: line 6342: /usr/local/apache2/bin/apxs: No such file or directory
configure: error: Aborting
como puedo instalar php??
MacBook Air 13″, macOS 12.0