It can even help to run nginx in "unsecure mode" if you want to stay
not chrooted:
nginx_flags="-u -p /home/mytests"
man nginx
; while php-fpm.conf should remain with the default values
; in this case..
-dan
Mike Fischer <fischer+o...@lavielle.com> wrote:
>
> > Am 17.05.2024 um 03:58 schrieb F Bax <fbax...@gmail.com>:
> >
> > I think I missed something simple? I installed 7.5 release in a VM.
> > I then installed nginx and PHP 8.3.3; with pkg_add. I then ran
> > these two commands: # rcctl enable php83_fpm # rcctl start php83_fpm
> > I found an issue with php system() function; so created this simple
> > script which produces "HiThere"; why is the date not presented?
> > <?php echo 'Hi';
> > system( 'date' );
> > echo 'There';
> > ?>
>
> You are probably running the php83_fpm process accessed from nginx in
> the default chroot(2) environment?