04-03-2022

This commit is contained in:
2022-03-04 17:56:50 +01:00
parent e6fc2251ec
commit 5b45dc0863
70 changed files with 3189 additions and 673 deletions

View File

@@ -684,6 +684,27 @@ WSGIPythonHome "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework
### Erreur _apr_bucket:
```bash
dyld[15170]: Symbol not found: _apr_bucket_file_set_buf_size
Referenced from: /opt/homebrew/Cellar/httpd/2.4.52/bin/httpd
Expected in: /usr/lib/libaprutil-1.0.dylib
```
Il faut réinstaller apr-util
https://stackoverflow.com/questions/69892715/installing-httpd-and-php-in-mac-os-12
```bash
$ brew reinstall apr-util
$ brew services restart httpd
```
### Liens:
[:fa-link: https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions](https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions)

View File

@@ -8,8 +8,25 @@ $ brew install mariadb
$ brew services start mariadb
```
<u>MariaDb est installé ici:</u>
Mac intel:
`/usr/local/Cellar/mariadb/10.2.11`
Mac M1:
`/opt/homebrew/Cellar/mariadb/10.6.4`
### Sécuriser l'installation:
```bash
$ sudo /opt/homebrew/bin/mysql_secure_installation
mysql -u root -p
Enter password:
```
### Arrêter MySQL:
```bash

View File

@@ -174,6 +174,10 @@ par
Si PHP n'est pas interprété, redémarrer le mac.
### Changer de version:
*PHP switcher script*:

View File

@@ -234,10 +234,18 @@ install ok: channel://pecl.php.net/yaml-2.2.1
Extension yaml enabled in php.ini
```
```bash
echo $(brew --prefix yaml) | pecl install yaml
```
PECL a un souci avec l'installation homebrew des macs M1:
https://stackoverflow.com/a/68138560/12431632
Chaque version de PHP a son propre répertoire d'extensions:
Mac intel: