-
ndut7
hi all
-
CrtxReavr
What's the preferred package to add for php support with apache24?
-
ivy
CrtxReavr: i believe php-fpm is in the normal php package (php84 or whatever)
-
CrtxReavr
o_O
-
CrtxReavr
so php84 is the package I want?
-
CrtxReavr
I also need GD support.
-
CrtxReavr
Honestly, all I'm using PHP for is SFPG.
-
ivy
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
-
ivy
replace 84 with whatever the current version of php is
-
CrtxReavr
bah
-
CrtxReavr
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.
-
CrtxReavr
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.
-
hodapp
whaa, system is suddenly now booting from the new (NVMe) disk but using the second (SATA) disk as the root filesystem
-
hodapp
wasn't doing this prior, but I hadn't gotten around to removing the SATA disk yet
-
ek
CrtxReavr: You install mod_php and make sure it's included in Apache's config?
-
CrtxReavr
So I want mod_php84-8.4.6 and not php84-8.4.6 ?
-
ek
No. Keep php84 but also install mod_php (the Apache PHP module)
-
ek
PHP itself doesn't require the Apache module. Needs to be installed separately.
-
ek
Well, that is, if that's the setup you're using. It sure sounds like it is.
-
antranigv
test
-
ek
pong
-
antranigv
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.
-
rtprio
in that specific case i would put a second resolver in the nginx config
-
hodapp
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
-
zi
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
-
hodapp
I tried hw.ix.unsupported_sfp=1
-
antranigv
that would've worked fine (setting static IPs) but my upstreams are "cloud servers" so A records keep changing and FreeBSD stuff (so geomirror)
-
antranigv
however, I like rtprio 's idea of hardcoding a resolver
-
zi
NAMED_BEFORE and NAMED_REQUIRE directly influence the service start order fwiw
-
antranigv
-
zi
oh, that should work
-
antranigv
zi somehow, it works for everything except nginx and named :D
-
zi
named has REQUIRE NETWORKING, nginx has REQUIRE LOGIN. seems like it should work just fine
-
zi
is this a dhcp box?
-
antranigv
zi maybe it's taking a while for named to start the resolver? I have hundreds of zones
-
zi
is dhcp in use on this box?
-
antranigv
it's a virtualization host, so yes.
-
zi
id suggest trying netwait before changing anything else then
-
antranigv
ah, that's a good idea. I keep forgetting about it
-
antranigv
I wonder if netwait_if can be a VLAN device.
-
zi
interface is an interface
-
zi
just set it to whatever the interface name is as in ifconfig
-
antranigv
rebooting to test, wish me luck.
-
antranigv
back. well, it was fixed :-) not sure why, but it did :P
-
antranigv
I assume it was netwait, but I also did the rcorder hack of mine
-
zi
i dont think the rcorder thing is needed
-
zi
nginx requires LOGIN
-
zi
so that's after NETWORKING and whatnot
-
zi
it's likely netwait
-
zi
id trash the rcorder hack and reboot again
-
phryk
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).
-
hodapp
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
-
rtprio
anyway to track down a unplanned reboot with nothing in /var/log/messages?
-
Ltning
How do people send pflog data to graylog or similar?
-
s2r
Does anybody run binkd?
-
Krusher
hello all, I'm a beginner in FreeBSD and have a question about dealing with package versions
-
rtprio
ask away
-
Krusher
I see for instance, for php, we have php84 or php84 so you can choose the version you like
-
Krusher
what's the "standard" method of upgrading or changing a version if a new one comes or I just want to?
-
Krusher
I have to uninstall and install the new one?
-
Krusher
or is there a better method?
-
Krusher
like the metapackages on debian-like linuxes
-
Krusher
i see some users use postmaster, but that sounds like an email daemon to me :S
-
Krusher
oh, it's PORTmaster, not POSTmaster lol
-
Krusher
but again that's por ports, not pkgs, right?
-
Krusher
for instance I was looking at the python page at
wiki.freebsd.org/Python and uses that
-
nxjoseph
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
-
|cos|
Krusher: Are you asking about php, python or both?
-
Krusher
php, python, postgres... anything really
-
Krusher
that was just an example
-
|cos|
They work differently.
-
|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.
-
|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.
-
Krusher
so I just pkg remove one and the install the other, right?
-
|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
-
nxjoseph
|cos|: i believe there is lang/python which installs bin/python but not sure
-
nxjoseph
same for lang/go
-
nxjoseph
% grep -i python_default /usr/ports/Mk/bsd.default-versions.mk
-
nxjoseph
PYTHON_DEFAULT?= 3.11
-
|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.
-
Krusher
oh so I can pkg install a new version of, say, php, and it will remove the other version before
-
|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?)
-
Krusher
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
-
nxjoseph
you are welcome, yes, lua doesn't seem to have something like that
-
|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.
-
Krusher
I see
-
Krusher
thank you for your insights!
-
Macer
so it's possible to make a 2 disk raidz vdev then add more disks later with zfs 2.3 right?
-
ivy
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
-
Macer
Aw. I thought 2.3 was going to be in 14.3
-
ivy
i don't see the relevant language in zpool-attach(8) in stable/14
-
ivy
looks like it has 2.2.7
-
Macer
guess i'll wait until november then :)
-
Macer
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
-
Macer
does fbsd have any sort of webui package for administration of that or will it all be using a term?
-
ivy
nothing in base, there might be something like that in ports for specific things (i think there's one for VMs)
-
Macer
ah ok. is iocage still the thing to do nowadays for jails?
-
Macer
i just noticed that bhyve isn't in the fbsd docs. i always thought that was part of the fbsd ecosystem. like jails.
-
ivy
where are you looking? it has a manpage and there's a section in the handbook about it
-
Macer
i'm looking at the freebsd.org handbook
-
Macer
ah. i see 24.7