How to modify open_basedir PHP variable server-wide

Created:

2017-02-07 13:21:30 UTC

Modified:

2017-08-08 13:14:38 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to modify open_basedir PHP variable server-wide

Applicable to:

  • Plesk 12.5 for Linux

Question

How to modify open_basedir PHP variable server-wide

Answer

1. Go to Home > Tools & Settings > PHP Settings

2. Choose PHP version handler that needed to be modified. As an example 5.5.9 by OS vendor FPM application .

3. Go to the php.ini tab and modify open_basedir section accordingly. As an example:

open_basedir = /var/www/vhosts/@domain_name@:/tmp/:/usr/bin/mysqldump:/usr/bin/mysql

Have more questions? Submit a request
Please sign in to leave a comment.