Usare i Pacchetti

Esistono poche versioni di PHP pre-pacchettizzate e pre-compilate per macOS. Questo può aiutare a creare una configurazione standard, ma se si ha bisogno di avere un differente set di funzionalità (come un server sicuro, o un differente driver di database), si potrebbe aver bisogno di effettuare il build di PHP e/o del proprio web server da soli. Se non si è familiari con il processo di build e di compilazione del proprio software, vale la pena controllare se qualcuno ha già costruito una versione pacchettizzata di PHP con le funzioni di cui si ha bisogno.

Le seguenti risorse offrono pacchetti e binari precompilati facili da installare per PHP su Mac OS:

add a note add a note

User Contributed Notes 3 notes

up
1
Sajt
2 years ago
You can use Laravel valet, what is included PHP, Nginx, DNSMasq and a lot of things for easy developing. (https://laravel.com/docs/8.x/valet)
up
0
saintalifrh at disroot dot org
2 years ago
Valet requires macOS and Homebrew. Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80.

you need to install brew anyway
up
0
marc_cole
2 years ago
Granted, this is not a "package", but I prefer to use phpbrew, as it allows me to install as many versions of PHP as I want for testing or whatever.

https://github.com/phpbrew/phpbrew
To Top