• 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.

Resolved How to set/modify

KiamOe

Basic Pleskian
Where can I set the _SERVER["PATH"] variable for PHP ?

Currently the server don't pick up the path I need.. I can add system paths / set ENV variable.. but not for PHP / Apache..

Is "PHP settings / include_path" the way to go now?
K
 
Hi KiamOe,

unfortunately, you don't really provide much information, what you are trying to achieve.

If I'm not mistaken, you are trying to setup a configuration file for wordpress, or for a wordpress plugin/style - or for any other CMS ... am I correct?
In general, these paths are setup with the FULL PATH on your server for the depending domain/subdomain, which is for example:

/var/www/vhosts/YOUR-DOMAIN.COM/httpdocs

or

/var/www/vhosts/YOUR-DOMAIN.COM/YOUR-SUB.DOMAIN.COM
 
Hi, thanks for trying to help.. No, it's not for WP or any other CMS... It's a custom php app I'm moving from another centos 6 system to this centos 7 based system.
Can't seem to get php/apache to pick up changes to the ENV settings.. but I found a workaround so all working good now.

Thanks anyway.
K
 
Back
Top