PHPSwitcher, separate PHP-Config for Subdomains

  • Hey, I need to have for each Subdomain a separate PHP-Config with for example allow_url_fopen activated or similar options.

    I tried to create an config file at: /opt/phpswitcher/xxxx/php7.4/etc/php-fpm.d with the following content:


    But it does not work. I rebooted the Server each Time I changed the config.
    What can I do?

    Edited once, last by gpeter73 ().

  • Are you sure that that's the correct path where to change the ini file ?

    What does

    PHP
    1. <?php phpinfo(); ?>

    say ?


    I don't use compiled versions, I use sury.org packages. My ini path is /etc/php/7.4/fpm/pool.d/sub.domain.com.conf

  • Are you sure that that's the correct path where to change the ini file ?

    What does

    PHP
    1. <?php phpinfo(); ?>

    say ?


    I don't use compiled versions, I use sury.org packages. My ini path is /etc/php/7.4/fpm/pool.d/sub.domain.com.conf

    Thank you, your path was the right one. PHP_INFO was also blocked so couldn't help me.