Debin 9 - Php7 - php.ini

Discussion in 'ISPConfig 3 Priority Support' started by nmazza, Jan 16, 2019.

  1. nmazza

    nmazza Member

    Hello,

    I have made some changes in my /etc/php/7.0/apache2/php.ini
    # Memory Limit:
    ;memory_limit = 128M
    memory_limit = 256M

    # Max Execution Time:
    ;max_execution_time = 30
    max_execution_time = 300

    # Max file size:
    ;upload_max_filesize = 2M
    upload_max_filesize = 200M

    # Post Max Size:
    ;post_max_size = 8M
    post_max_size = 200M

    After that ...
    service apache2 restart


    And then in my /etc/php/7.0/cli/php.ini
    # Memory Limit:
    ;memory_limit = -1
    memory_limit = 256M

    # Max Execution Time:
    ;max_execution_time = 30
    max_execution_time = 300

    # Max file size:
    ;upload_max_filesize = 2M
    upload_max_filesize = 200M

    # Post Max Size:
    ;post_max_size = 8M
    post_max_size = 200M

    After that ...
    service apache2 restart


    But if I execute https://www.sin-limite.com.ar/phpinfo.php
    Nothing changed , I'm seeing the old values
    for example ...
    post_max_size 8M


    Thanks for all
    Nestor Mazza
     
  2. nmazza

    nmazza Member

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    It depends on the PHP mode that you use in the website.

    mod_php: /etc/php/7.0/apache2/php.ini
    php-fcgi: /etc/php/7.0/cgi/php.ini
    php-fpm: /etc/php/7.0/fpm/php.ini
     

Share This Page