• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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