Changes in /etc/php5/cgi/php.ini and in /etc/php5/apache2/php.ini not reflected in vhost php.ini

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Mar 24, 2016.

  1. pawan

    pawan Member

    I have made changes in both the files in /etc/php5/cgi/php.ini and /etc/php5/apache2/php.ini
    like this
    Code:
    mail.log = /var/log/phpmail
    but while checking the php.info for the website I am getting
    Code:
    mail.log no value no value
    What I am doing wrong here, as I want the mail.log to be affected to all vhost.
    what I am doing wrong here?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The php info command shows you which php.ini file has to be edited. abd dont forrget to restart apache and php-fpm.
     
  3. pawan

    pawan Member

    Thanks Till I wanted all the vhost php.ini file to be updated which was edited in /etc/php5/cgi/php.ini.
    but I think I have resolved it. I run sync tools resync and now I am getting the updated file for the path for log in all websites.
    is this the correct method to propagate the update to all vhost.ini file from main php.ini file?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.
     
    pawan likes this.
  5. pawan

    pawan Member

    Thanks
     

Share This Page