Hi guys, I'm working in a test lab, my first jail ever (never had the need, now's the time)...I'm working with a FAMP install + Nagios, (php 74, apache24), when I visit my phpinfo.php or the nagios frontpage, I just get the code, not the php output (eg. phpinfo prints:
)
To test my install I did the same in a VM (FreeBSD 12.2, PHP 7.4, Apache 2.4), everything works flawessly...
I think this maybe related with my sysctl.conf (from the handbook):
I have installed a lot, and I mean a LOT of similar infrastructures over the years, both in FreeBSD as well in Linux with no problem at all...Can't get why it doesn't work...
Any advice will be helpful
THNX
Code:
<?php
phpinfo();
?
To test my install I did the same in a VM (FreeBSD 12.2, PHP 7.4, Apache 2.4), everything works flawessly...
I think this maybe related with my sysctl.conf (from the handbook):
Code:
security.jail.set_hostname_allowed=1
security.jail.socket_unixiproute_only=1
security.jail.sysvipc_allowed=0
security.jail.enforced_statfs=2
security.jail.allow_raw_sockets=0
security.jail.chflags_allowed=0
security.jail.jailed=0
I have installed a lot, and I mean a LOT of similar infrastructures over the years, both in FreeBSD as well in Linux with no problem at all...Can't get why it doesn't work...
Any advice will be helpful
THNX