ISSUE: PHP does not seem to be setup properly to query system environment variables

xlameee

Explorer
Joined
Jun 22, 2018
Messages
87
Hello

I successfully installed NEXTCLOUD on freenas 11.3 U5 VM on vmware esxi7 but I have some warnings:

  • PHP does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response. Please check the installation documentation ↗ for PHP configuration notes and the PHP configuration of your server, especially when using php-fpm.

  • This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
    • imagick

The 1st one I tried :

;clear_env = no
;env[PATH] = /usr/local/bin:/usr/bin:/bin
remove the ";" from both lines. In the file listed below.
/usr/local/etc/php-fpm.d/www.conf

But it is not working.

The 2nd one I have no idea how to fix it.


Thank you
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Hello, there is a thread outlining the fix properly. You can find it HERE. This works, did it previously. Now i reinstalled NC20 on TrueNAS, this error does not pop up anymore.
 
Top