root@main:/home/list# ls
cgi-bin l tmp
awstats etc homes Maildir public_html virtualmin-backup
root@main:/home/list# cd etc
root@main:/home/list/etc# ls
php7.4 php8.2 php.ini
Just a heads up, unrelated to the issue under discussion (despite my usual discouragement of changing the subject): Y’all both have some PHP 7 versions installed. If those package didn’t come from your OS repos, and instead came from a third party (like Remi/Sury/Ondrej), those packages are unmaintained and likely a security risk. Those third-party repos maintain the software as long as the upstream maintains it, but PHP 7 reached EOL more than a year ago.
Not sure why but locate doesn’t seem to list /home/domain/etc php.ini files until I run it fresh. Weird. But as I said above, it appears all of my domains have an /etc/php.ini file.
I’m not sure what the difference in the install script vs manual install would be though. I don’t mess with jailkit. It was meant for setting up programming environments originally. One day a programmer noticed a hacker had gained access to one of his ‘jails’ and watched them. The hacker not knowing he was in a chroot environment didn’t get too far. Suddenly chroot was seen as hack protection. It is only for the truly inept hacker I guess?
After a little digging, on a server, the php.ini is a symbolic link to php8.3/php.ini, which is held in the same folder /home/server domain/etc/php8.3 and there is a php.ini in there…
If it has the correct permissions, and isn’t empty, then I’,m out of good guesses.
So bad guesses?
I installed from an account with root permissions so I logged in as the user and tried again. Again, it installed. I wouldn’t think jail would prevent you from going up one directory to the /etc/ file, but I don’t know that. I thought it would just keep you in home.
Bain of my life … I delete the symlink in the users home directory etc/php.ini as it can trash allsorts of things both cli and http but it is what it is and you work around it