• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Change PATH Variable

Larsm

Basic Pleskian
Hello,

i switched from PHP7.2 with apache to Nginx with php7.2-fpm. Now i get this Warning in my Nextcloud Installation:

PHP does not seem to be set up properly to query system environment variables. The test with getenv ("PATH") returns only an empty answer.

i have uncomment this Line in /etc/php/7.0/fpm/pool.d/www.conf


;env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp

printenv PATH give me this:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games


what is wrong, can anyone help me?

best regards Lars
 
Back
Top