XF 2.2 Local dev environment recommendation 2020

Sounds good

I looked into traefik, but the r/pm is seemingly slower than that of nginx

Would be good to hear more data points on how that setup works for you
Will do once I get a good docker config for XF. I'm guessing "r/pm" is reads per minute? Well HAProxy is even better than nginx, but my reason for switching to traefik a couple years ago was its ease of configuration and playing well with docker - and automated Let's Encrypt cert updates. It just seems more friendly to containerization and configuration management (and I hear Caddy does too). The performance loss is negligible, and seems to be improving as it is actively developed (while nginx seems to be turning into more of an enterprise product).

It wouldn't be hard to have a few step process for users to run XF using a docker-compose with traefik and free SSL certs via Let's Encrypt. I'm not familiar with PHP or XF yet, so I don't have suggestions on that - but looking forward to reading your production config files.
 
@DevOops

Here's the compose we use for production setup: https://gist.github.com/Jarvvski/67c37080d530cdb64515f360b7a57e3c
It includes;
  • Nginx side car for php-fpm
  • php fpm
  • mariaDB
  • elasticsearch
  • smtp
  • redis cache
  • small node container for a discord bot that uses xenforo

All of this happens 'behind edge' using purely the docker bridge network on the same node

I've included the small nginx conf we use for the sidecar (not the reverse proxy) that allows xenforo to see the real IP addresses of clients that connect
 
I was able to follow the guide and get all versions of PHP working but 8.0
The only error I get when trying to view the 8.0 index.php that has phpinfo() in it is the following.

1657916772868.png

Has anyone else come across this on MacOS 12.4 (Intel)?


Edit: Here is my error log for today from my httpd.conf


Code:
[Fri Jul 15 10:53:17.163185 2022] [proxy_fcgi:error] [pid 203] [client ::1:51005] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 10:53:17.164089 2022] [proxy_fcgi:error] [pid 203] (22)Invalid argument: [client ::1:51005] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:37.169830 2022] [mpm_prefork:notice] [pid 99810] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:41:38.258241 2022] [mpm_prefork:notice] [pid 10026] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:41:38.258678 2022] [core:notice] [pid 10026] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:41:41.410925 2022] [proxy_fcgi:error] [pid 10052] [client ::1:63116] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:41.410969 2022] [proxy_fcgi:error] [pid 10052] (22)Invalid argument: [client ::1:63116] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:43.900479 2022] [proxy_fcgi:error] [pid 10053] [client ::1:63121] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:43.900527 2022] [proxy_fcgi:error] [pid 10053] (22)Invalid argument: [client ::1:63121] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:47.457324 2022] [proxy_fcgi:error] [pid 10056] [client ::1:63131] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:47.457387 2022] [proxy_fcgi:error] [pid 10056] (22)Invalid argument: [client ::1:63131] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:54.329750 2022] [proxy_fcgi:error] [pid 10057] [client ::1:63180] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:54.329784 2022] [proxy_fcgi:error] [pid 10057] (22)Invalid argument: [client ::1:63180] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:33.876555 2022] [mpm_prefork:notice] [pid 10026] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:55:34.985459 2022] [mpm_prefork:notice] [pid 11947] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:55:34.985864 2022] [core:notice] [pid 11947] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:55:36.699004 2022] [proxy_fcgi:error] [pid 11969] [client ::1:64234] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:36.699055 2022] [proxy_fcgi:error] [pid 11969] (22)Invalid argument: [client ::1:64234] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:37.696177 2022] [proxy_fcgi:error] [pid 11971] [client ::1:64242] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:37.696213 2022] [proxy_fcgi:error] [pid 11971] (22)Invalid argument: [client ::1:64242] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:40.302864 2022] [proxy_fcgi:error] [pid 11969] [client ::1:64252] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:40.303285 2022] [proxy_fcgi:error] [pid 11969] (22)Invalid argument: [client ::1:64252] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:43.107891 2022] [proxy_fcgi:error] [pid 11970] [client ::1:64241] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:43.107938 2022] [proxy_fcgi:error] [pid 11970] (22)Invalid argument: [client ::1:64241] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:30.190976 2022] [proxy_fcgi:error] [pid 11985] [client ::1:65081] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:30.191291 2022] [proxy_fcgi:error] [pid 11985] (22)Invalid argument: [client ::1:65081] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:31.390943 2022] [proxy_fcgi:error] [pid 11992] [client ::1:65088] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:31.390978 2022] [proxy_fcgi:error] [pid 11992] (22)Invalid argument: [client ::1:65088] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:40.144452 2022] [mpm_prefork:notice] [pid 11947] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:58:41.251069 2022] [mpm_prefork:notice] [pid 12895] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:58:41.251514 2022] [core:notice] [pid 12895] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:58:42.062295 2022] [proxy_fcgi:error] [pid 12922] [client ::1:65160] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:42.062577 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:65160] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:43.213222 2022] [proxy_fcgi:error] [pid 12924] [client ::1:65168] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:43.213271 2022] [proxy_fcgi:error] [pid 12924] (22)Invalid argument: [client ::1:65168] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:54.591397 2022] [proxy_fcgi:error] [pid 12926] [client ::1:65237] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:54.574771 2022] [proxy:error] [pid 12924] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:58:54.592145 2022] [proxy_fcgi:error] [pid 12926] (22)Invalid argument: [client ::1:65237] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:54.592181 2022] [proxy_fcgi:error] [pid 12924] [client ::1:65242] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 14:58:56.820125 2022] [proxy_fcgi:error] [pid 12922] [client ::1:65243] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:56.820146 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:65243] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:56.824011 2022] [proxy:error] [pid 12933] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:58:56.824446 2022] [proxy_fcgi:error] [pid 12933] [client ::1:65266] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 14:59:58.257107 2022] [proxy_fcgi:error] [pid 12925] [client ::1:49184] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:59:58.257450 2022] [proxy_fcgi:error] [pid 12925] (22)Invalid argument: [client ::1:49184] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:59:58.264415 2022] [proxy:error] [pid 12939] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:59:58.264664 2022] [proxy_fcgi:error] [pid 12939] [client ::1:49195] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 15:00:13.843131 2022] [proxy_fcgi:error] [pid 12922] [client ::1:49267] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:00:13.843166 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:49267] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 15:00:25.763743 2022] [proxy_fcgi:error] [pid 12926] [client ::1:49344] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:00:25.763773 2022] [proxy_fcgi:error] [pid 12926] (22)Invalid argument: [client ::1:49344] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 15:01:00.196482 2022] [proxy_fcgi:error] [pid 12940] [client ::1:49515] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:01:00.196794 2022] [proxy_fcgi:error] [pid 12940] (22)Invalid argument: [client ::1:49515] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 17:01:46.792710 2022] [mpm_prefork:notice] [pid 12895] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 17:01:47.887203 2022] [mpm_prefork:notice] [pid 22638] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 17:01:47.887612 2022] [core:notice] [pid 22638] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 17:01:49.189558 2022] [proxy_fcgi:error] [pid 22665] [client ::1:52069] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 17:01:49.189616 2022] [proxy_fcgi:error] [pid 22665] (22)Invalid argument: [client ::1:52069] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 17:01:53.393812 2022] [proxy_fcgi:error] [pid 22667] [client ::1:52075] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 17:01:53.393887 2022] [proxy_fcgi:error] [pid 22667] (22)Invalid argument: [client ::1:52075] AH01075: Error dispatching request to : , referer: http://localhost/info/
 
Last edited:
I was able to follow the guide and get all versions of PHP working but 8.0
The only error I get when trying to view the 8.0 index.php that has phpinfo() in it is the following.

View attachment 270917

Has anyone else come across this on MacOS 12.4 (Intel)?


Edit: Here is my error log for today from my httpd.conf


Code:
[Fri Jul 15 10:53:17.163185 2022] [proxy_fcgi:error] [pid 203] [client ::1:51005] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 10:53:17.164089 2022] [proxy_fcgi:error] [pid 203] (22)Invalid argument: [client ::1:51005] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:37.169830 2022] [mpm_prefork:notice] [pid 99810] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:41:38.258241 2022] [mpm_prefork:notice] [pid 10026] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:41:38.258678 2022] [core:notice] [pid 10026] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:41:41.410925 2022] [proxy_fcgi:error] [pid 10052] [client ::1:63116] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:41.410969 2022] [proxy_fcgi:error] [pid 10052] (22)Invalid argument: [client ::1:63116] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:43.900479 2022] [proxy_fcgi:error] [pid 10053] [client ::1:63121] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:43.900527 2022] [proxy_fcgi:error] [pid 10053] (22)Invalid argument: [client ::1:63121] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:47.457324 2022] [proxy_fcgi:error] [pid 10056] [client ::1:63131] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:47.457387 2022] [proxy_fcgi:error] [pid 10056] (22)Invalid argument: [client ::1:63131] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:41:54.329750 2022] [proxy_fcgi:error] [pid 10057] [client ::1:63180] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:41:54.329784 2022] [proxy_fcgi:error] [pid 10057] (22)Invalid argument: [client ::1:63180] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:33.876555 2022] [mpm_prefork:notice] [pid 10026] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:55:34.985459 2022] [mpm_prefork:notice] [pid 11947] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:55:34.985864 2022] [core:notice] [pid 11947] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:55:36.699004 2022] [proxy_fcgi:error] [pid 11969] [client ::1:64234] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:36.699055 2022] [proxy_fcgi:error] [pid 11969] (22)Invalid argument: [client ::1:64234] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:37.696177 2022] [proxy_fcgi:error] [pid 11971] [client ::1:64242] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:37.696213 2022] [proxy_fcgi:error] [pid 11971] (22)Invalid argument: [client ::1:64242] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:40.302864 2022] [proxy_fcgi:error] [pid 11969] [client ::1:64252] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:40.303285 2022] [proxy_fcgi:error] [pid 11969] (22)Invalid argument: [client ::1:64252] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:55:43.107891 2022] [proxy_fcgi:error] [pid 11970] [client ::1:64241] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:55:43.107938 2022] [proxy_fcgi:error] [pid 11970] (22)Invalid argument: [client ::1:64241] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:30.190976 2022] [proxy_fcgi:error] [pid 11985] [client ::1:65081] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:30.191291 2022] [proxy_fcgi:error] [pid 11985] (22)Invalid argument: [client ::1:65081] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:31.390943 2022] [proxy_fcgi:error] [pid 11992] [client ::1:65088] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:31.390978 2022] [proxy_fcgi:error] [pid 11992] (22)Invalid argument: [client ::1:65088] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:40.144452 2022] [mpm_prefork:notice] [pid 11947] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 14:58:41.251069 2022] [mpm_prefork:notice] [pid 12895] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 14:58:41.251514 2022] [core:notice] [pid 12895] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 14:58:42.062295 2022] [proxy_fcgi:error] [pid 12922] [client ::1:65160] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:42.062577 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:65160] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:43.213222 2022] [proxy_fcgi:error] [pid 12924] [client ::1:65168] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:43.213271 2022] [proxy_fcgi:error] [pid 12924] (22)Invalid argument: [client ::1:65168] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:54.591397 2022] [proxy_fcgi:error] [pid 12926] [client ::1:65237] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:54.574771 2022] [proxy:error] [pid 12924] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:58:54.592145 2022] [proxy_fcgi:error] [pid 12926] (22)Invalid argument: [client ::1:65237] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:54.592181 2022] [proxy_fcgi:error] [pid 12924] [client ::1:65242] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 14:58:56.820125 2022] [proxy_fcgi:error] [pid 12922] [client ::1:65243] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:58:56.820146 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:65243] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:58:56.824011 2022] [proxy:error] [pid 12933] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:58:56.824446 2022] [proxy_fcgi:error] [pid 12933] [client ::1:65266] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 14:59:58.257107 2022] [proxy_fcgi:error] [pid 12925] [client ::1:49184] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 14:59:58.257450 2022] [proxy_fcgi:error] [pid 12925] (22)Invalid argument: [client ::1:49184] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 14:59:58.264415 2022] [proxy:error] [pid 12939] (61)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9074 (*:80) failed
[Fri Jul 15 14:59:58.264664 2022] [proxy_fcgi:error] [pid 12939] [client ::1:49195] AH01079: failed to make connection to backend: localhost, referer: http://localhost/info/
[Fri Jul 15 15:00:13.843131 2022] [proxy_fcgi:error] [pid 12922] [client ::1:49267] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:00:13.843166 2022] [proxy_fcgi:error] [pid 12922] (22)Invalid argument: [client ::1:49267] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 15:00:25.763743 2022] [proxy_fcgi:error] [pid 12926] [client ::1:49344] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:00:25.763773 2022] [proxy_fcgi:error] [pid 12926] (22)Invalid argument: [client ::1:49344] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 15:01:00.196482 2022] [proxy_fcgi:error] [pid 12940] [client ::1:49515] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 15:01:00.196794 2022] [proxy_fcgi:error] [pid 12940] (22)Invalid argument: [client ::1:49515] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 17:01:46.792710 2022] [mpm_prefork:notice] [pid 12895] AH00169: caught SIGTERM, shutting down
[Fri Jul 15 17:01:47.887203 2022] [mpm_prefork:notice] [pid 22638] AH00163: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Fri Jul 15 17:01:47.887612 2022] [core:notice] [pid 22638] AH00094: Command line: '/usr/local/opt/httpd/bin/httpd -D FOREGROUND'
[Fri Jul 15 17:01:49.189558 2022] [proxy_fcgi:error] [pid 22665] [client ::1:52069] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 17:01:49.189616 2022] [proxy_fcgi:error] [pid 22665] (22)Invalid argument: [client ::1:52069] AH01075: Error dispatching request to : , referer: http://localhost/info/
[Fri Jul 15 17:01:53.393812 2022] [proxy_fcgi:error] [pid 22667] [client ::1:52075] AH01068: Got bogus version 72, referer: http://localhost/info/
[Fri Jul 15 17:01:53.393887 2022] [proxy_fcgi:error] [pid 22667] (22)Invalid argument: [client ::1:52075] AH01075: Error dispatching request to : , referer: http://localhost/info/
It randomly started working this evening..
 
I was watching / reading the macOS guide in the dev docs today. I'm just curious if @Chris D or any macOS user has a different way of doing things in 2023 than what is written in the docs? Because I couldn't really get it all working right. I'll be honest, I've been troubleshooting this all day lol. I switched to XAMPP but even with that, I can't php cmd.php xf-addon:create in the terminal because I get access denied.
 
I was watching / reading the macOS guide in the dev docs today. I'm just curious if @Chris D or any macOS user has a different way of doing things in 2023 than what is written in the docs? Because I couldn't really get it all working right.
Are you using one of the M1 macs? If so I had issues with getting the environment setup following the docs on my m1 studio but after a few google searches was able to get things going (php8 still refuses to work sometimes so I mainly just stick with my php7 environment).
 
Are you using one of the M1 macs? If so I had issues with getting the environment setup following the docs on my m1 studio but after a few google searches was able to get things going (php8 still refuses to work sometimes so I mainly just stick with my php7 environment).
I'm using one of the final Intel Macs.

I spent most of the day troubleshooting. I went as far as switching to XAMPP, then telling my Mac to use the XAMPP php instead of the built in and/or Homebrew php. But I still get access denied. Maybe I need to just use php7 for this.
 
Are you using one of the M1 macs? If so I had issues with getting the environment setup following the docs on my m1 studio but after a few google searches was able to get things going (php8 still refuses to work sometimes so I mainly just stick with my php7 environment).
Php itself seems to be working:
1682554583444.webp

But the permissions in the XAMPP files don't seem to allow it to do anything.
 
Is there a typo here? It mentions index.php files but they are info.php and it doesn't specifically say to create index.php files. Also, I downloaded the .zip and the php8 folder doesn't have a info.php like the other two do.

1682563937479.webp
 
I don't know if @Chris D uses my guide for his own environment, but I'm still using the same config, albeit with Nginx rather than Apache for reasons that I don't actually remember

View attachment 285239
All good - following the guide exactly did end up working (and I uninstalled XAMPP, which feels good). The only noticeable part of the doc that could maybe be updated is the lack of mention of installing php 8.1 and 8.2 but obviously those are self explanatory anyway. It feels good to finally have this set up this way. Do you also link to git with your dev setup for XF?
 
All good - following the guide exactly did end up working (and I uninstalled XAMPP, which feels good). The only noticeable part of the doc that could maybe be updated is the lack of mention of installing php 8.1 and 8.2 but obviously those are self explanatory anyway. It feels good to finally have this set up this way. Do you also link to git with your dev setup for XF?
Not sure about Kier but after the third time losing my work on the blog addon I'm working on to learn XF I started pushing my work to private github repos (as a software developer I should have been doing this from the beginning but kept forgetting that the "Replace" function when moving files folders to another destination is not the same as it is in Windows and kept "replacing" the src folder).
 
Highly recommend Devilbox. Uses docker which makes it easy to back up and works cross platform.

Using it on Fedora 38.

 
For Windows the best I could do is WSL 2 Ubuntu, which is the standard. I "apt install nginx php(...) mariadb-server" and everything works out of the box. Ubuntu worked immediately, other distros did not.
 
Top Bottom