• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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