How to change PHP settings for one domain or all domains in Plesk using command line?

Follow

Comments

2 comments

  • Avatar
    Xyonet Hosting

    /etc/php.ini does not exist.  That isn't where php.ini lives in a plesk environment.  Also, there are separate php.ini's for each version of php on the system so using one custom.php.ini will not suffice.

    0
    Comment actions Permalink
  • Avatar
    Anton Kuznetsov

    /etc/php.ini only serves as a template here. You can create new custom php.ini from scratch, or use any php.ini you want. Of course, you are correct that applying the same php settings for different php versions is not recommended. In that case, you should apply the settings only for the chosen domains.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request