01:19:13 hi all 14:52:00 What's the preferred package to add for php support with apache24? 14:52:48 CrtxReavr: i believe php-fpm is in the normal php package (php84 or whatever) 14:53:59 o_O 14:54:15 so php84 is the package I want? 14:54:19 I also need GD support. 14:54:38 Honestly, all I'm using PHP for is SFPG. 14:54:45 i haven't used php for a while but that is what i remember. gd might be an in extension package which would be called php84-gd or something like that 14:55:50 replace 84 with whatever the current version of php is 15:18:08 bah 15:19:04 So I had a working apache/php/gd setup. . . but then pkg decided it didn't like something, so it had to uninstall, vs. upgrade. 15:21:18 So I've installed php84-8.4.6, php84-gd-8.4.6, and my /usr/local/etc/ files appear to still be there, but if I hit a php script, it just prints the php in the browser. 15:31:18 whaa, system is suddenly now booting from the new (NVMe) disk but using the second (SATA) disk as the root filesystem 15:31:40 wasn't doing this prior, but I hadn't gotten around to removing the SATA disk yet 15:34:08 CrtxReavr: You install mod_php and make sure it's included in Apache's config? 15:35:25 So I want mod_php84-8.4.6 and not php84-8.4.6 ? 15:36:28 No. Keep php84 but also install mod_php (the Apache PHP module) 15:36:57 PHP itself doesn't require the Apache module. Needs to be installed separately. 15:38:01 Well, that is, if that's the setup you're using. It sure sounds like it is. 16:19:36 test 16:22:30 pong 16:28:33 folks, how do you manage your rc order? I have a silly situation where nginx starts before named has started, so it can’t resolve the upstreams, and ends up failing. 16:31:55 in that specific case i would put a second resolver in the nginx config 16:32:46 should I be seeing *something* in dmesg with this Intel X710 when plugging in SFP+ modules? ix0 is just stuck at "no carrier" no matter what, and 'ifconfig ix0 up' doesn't seem to change that 16:32:52 antranigv: could change upstreams to be by ip in nginx, switch to local_unbound. lastly, you could look at NAMED_BEFORE and NAMED_REQUIRE and set those for the named package when it is built 16:33:03 I tried hw.ix.unsupported_sfp=1 16:33:46 that would've worked fine (setting static IPs) but my upstreams are "cloud servers" so A records keep changing and FreeBSD stuff (so geomirror) 16:33:58 however, I like rtprio 's idea of hardcoding a resolver 16:34:31 NAMED_BEFORE and NAMED_REQUIRE directly influence the service start order fwiw 16:37:39 zi , I'm doing it this way: https://antranigv.am/posts/2025/01/changing-freebsds-rcorder-without-patching/ 16:39:29 oh, that should work 16:39:51 zi somehow, it works for everything except nginx and named :D 16:40:51 named has REQUIRE NETWORKING, nginx has REQUIRE LOGIN. seems like it should work just fine 16:40:54 is this a dhcp box? 16:42:44 zi maybe it's taking a while for named to start the resolver? I have hundreds of zones 16:44:21 is dhcp in use on this box? 16:44:38 it's a virtualization host, so yes. 16:45:01 id suggest trying netwait before changing anything else then 16:45:13 ah, that's a good idea. I keep forgetting about it 16:48:47 I wonder if netwait_if can be a VLAN device. 16:48:59 interface is an interface 16:49:16 just set it to whatever the interface name is as in ifconfig 16:52:15 rebooting to test, wish me luck. 17:00:02 back. well, it was fixed :-) not sure why, but it did :P 17:00:04 I assume it was netwait, but I also did the rcorder hack of mine 17:00:23 i dont think the rcorder thing is needed 17:00:28 nginx requires LOGIN 17:00:32 so that's after NETWORKING and whatnot 17:00:35 it's likely netwait 17:00:42 id trash the rcorder hack and reboot again 17:09:55 is there an actual reason why there isn't a statically named branch of the current quarterly ports? it's the one thing standing in the way of easily having completely automated package repos for quarterlies (at least within a release version). 17:11:31 oh, I guess I just don't get dmesg messages when I put in SFP+ modules and that's normal. ifconfig -vvvm shows what's plugged in 17:28:45 anyway to track down a unplanned reboot with nothing in /var/log/messages? 17:30:07 How do people send pflog data to graylog or similar? 17:57:40 Does anybody run binkd? 19:02:20 hello all, I'm a beginner in FreeBSD and have a question about dealing with package versions 19:02:29 ask away 19:02:55 I see for instance, for php, we have php84 or php84 so you can choose the version you like 19:03:13 what's the "standard" method of upgrading or changing a version if a new one comes or I just want to? 19:03:21 I have to uninstall and install the new one? 19:03:26 or is there a better method? 19:03:35 like the metapackages on debian-like linuxes 19:05:07 i see some users use postmaster, but that sounds like an email daemon to me :S 19:05:40 oh, it's PORTmaster, not POSTmaster lol 19:06:26 but again that's por ports, not pkgs, right? 19:07:28 for instance I was looking at the python page at https://wiki.freebsd.org/Python and uses that 19:07:57 packages are actually ports before they get distributed via freebsd repositories, i don't know how you would upgrade php version properly but installing newer ones make sense to me 19:08:11 <|cos|> Krusher: Are you asking about php, python or both? 19:08:56 php, python, postgres... anything really 19:09:13 that was just an example 19:10:20 <|cos|> They work differently. 19:11:38 <|cos|> Which I guess is another way of saying there really isn't a "standard" method. There's nothing like e.g. the Debian alternatives system. 19:13:11 <|cos|> As for php, both php83 and php84 contains …bin/php and those packages conflict with eachother. You can't have both, and as far as I know there's no easy way to pick a "suggested" one without specifying the version. 19:13:55 so I just pkg remove one and the install the other, right? 19:14:49 <|cos|> With python on the other hand, no package provides a …bin/python or even python3 executable. One needs to add such an alias oneself, or always specify the interpreter with major+minor-numer 19:15:28 |cos|: i believe there is lang/python which installs bin/python but not sure 19:15:37 same for lang/go 19:16:03 % grep -i python_default /usr/ports/Mk/bsd.default-versions.mk 19:16:04 PYTHON_DEFAULT?= 3.11 19:17:25 <|cos|> Krusher: Requesting to install a conflicting version will do the uninstall for you, after prompting to verify that's what you want to do. 19:18:07 oh so I can pkg install a new version of, say, php, and it will remove the other version before 19:19:35 <|cos|> nxjoseph: wow, thanks! dunno how i could have missed that one when i actually remember having looked for it. (or was that lua, perhaps?) 19:20:34 oh in the worst case I can do what the wiki suggests with python for instance: for i in $(pkg query -g %n 'pyMM-*'); do pkg set -yn ${i}:pyNN-${i#pyMM-}; done 19:20:35 you are welcome, yes, lua doesn't seem to have something like that 19:23:37 <|cos|> Krusher: packages named like that are things implemented in python, not python itself. each package targets one specifin language version, selected at build time. 19:23:52 I see 19:31:21 thank you for your insights! 23:14:00 so it's possible to make a 2 disk raidz vdev then add more disks later with zfs 2.3 right? 23:15:48 Macer: last i checked, this is possible in 15.0 but not possible in 14.0 or earlier. i don't remember which zfs version is in which release 23:17:01 Aw. I thought 2.3 was going to be in 14.3 23:18:17 i don't see the relevant language in zpool-attach(8) in stable/14 23:19:06 looks like it has 2.2.7 23:20:23 guess i'll wait until november then :) 23:21:49 or do some extreme backup / restore on the proxmox server so i can pull 4 SSDs out of it and make the 4 x 4TB vdev in one shot. i was hoping to move off proxmox to fbsd using jails and bhyve 23:22:26 does fbsd have any sort of webui package for administration of that or will it all be using a term? 23:23:23 nothing in base, there might be something like that in ports for specific things (i think there's one for VMs) 23:25:35 ah ok. is iocage still the thing to do nowadays for jails? 23:29:27 i just noticed that bhyve isn't in the fbsd docs. i always thought that was part of the fbsd ecosystem. like jails. 23:30:32 where are you looking? it has a manpage and there's a section in the handbook about it 23:31:57 i'm looking at the freebsd.org handbook 23:32:24 ah. i see 24.7