| Author | 
         | 
         
      
        
         
         pdertoni Newbie 
          
  
  Joined: 04 May 2018 Location: Brazil
 Online Status: Offline Posts: 3
          | 
        
         
          
           | Posted: 04 May 2018 at 1:34pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I want to increase the attachment size and don't know how to procede.
 
 My config.php is like this:
 <?php
 
 $aSieveDomains = array('127.0.0.1', 'localhost');
 
 return array( 'plugins.poppassd-change-password' => true,
      
      'sieve' => false,
      'sieve.autoresponder' => true,
      'sieve.forward' => true,
      'sieve.filters' => true,
      'sieve.config.host' => '',
      'sieve.config.port' => 2000,
      'sieve.config.filters-folder-charset' => 'utf-8', // [utf7-imap, utf-8]
      'sieve.config.domains' => $aSieveDomains,
      'links.importing-contacts' => 'http://www.afterlogic.org/docs/webmail-lite/frequently-asked-questions/importing-contacts',
      
      'plugins.external-services' => true,
      'plugins.external-services.connectors' => array(
           'google',
           'dropbox',
           'facebook',
           'twitter'
      ),     
 );  
                
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 04 May 2018 at 1:44pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Please take a look at "PHP configuration" section of the following documentation page:
 
 Error while attaching files to new message
 
 From your phpinfo() output, looks like post_max_size is only 8M, it usually should be set twice as big as upload_max_filesize, 256M in your case.
 
 --
 Regards,
 Igor, Afterlogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         pdertoni Newbie 
          
  
  Joined: 04 May 2018 Location: Brazil
 Online Status: Offline Posts: 3
          | 
        
         
          
           | Posted: 04 May 2018 at 5:18pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
The document says I have to edit this line in the php.ini file, but I don't know where to find it. 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 07 May 2018 at 2:06am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Create the following .php script on your server and open it from the browser:
 
 
 
 It should show you php.ini path on "Loaded Configuration File" line.
 
 Hope it helps.
 
 --
 Regards,
 Igor, Afterlogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         pdertoni Newbie 
          
  
  Joined: 04 May 2018 Location: Brazil
 Online Status: Offline Posts: 3
          | 
        
         
          
           | Posted: 08 May 2018 at 7:45am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Found it on plesk interface. It worked, thanks for the help.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |