• 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

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