MacOs sistemlerine homebrew, php8, nginx, mariadb, phpmyadmin kurulumunu anlatmaya çalıştım. umarım faydalı bir video olmuştur.
Video içindeki adımları aşağıda bulabilirsiniz.
1. xcode-select --install
2. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"
3. brew install openssl
4. brew install php
5. pecl channel-update pecl.php.net
6. pecl install apcu
7. brew install libyaml
8. pecl install yaml
9. pecl install xdebug
10. brew install nginx
11. brew install mariadb
12. brew services start mariadb
13. sudo /usr/local/bin/mysql_secure_installation
14. brew install phpmyadmin
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name localhost;
location / {
root /Users/“kullanici_adi”/Sites/localhost/;
index index.php;
#try_files $uri =404;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
location /phpmyadmin {
root /usr/local/share;
index index.php index.html index.htm;
location ~ ^/phpmyadmin/(.+\.php)$ {
try_files $uri =404;
root /usr/local/share;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/local/share;
}
}
}
Database yöneticisi olarak aşağıdaki programlardan birini kullabilirsiniz.
https://tableplus.com/release/osx/tab...
https://www.navicat.com/download/dire...
https://sequelpro.com/download#auto-s...