<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to Upload configuration files bigger than 2MB in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/215689#M14</link>
    <description>&lt;P&gt;Expedition uses APACHE as a web server and PHP as module for the scripts. By default PHP allow users to upload files with a maximum size of 2M, this can be updated by changing the PHP.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo vi /etc/php/7.0/apache2/php.ini

go to line where this variable is defined

upload_max_filesize = 2M

and replace by

upload_max_filesize = 250M

&lt;/PRE&gt;
&lt;P&gt;There is another parameter within that file can be increased to allow you use the multiedit with a big amount of rules&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo vi /etc/php/7.0/apache2/php.ini

go to line where this variable is defined

post_max_size = 8M

and replace by

post_max_size = 128M&lt;/PRE&gt;
&lt;P&gt;Increase the values to those variables and restart apache for the changes take effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo systemctl restart apache2&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 May 2018 12:32:42 GMT</pubDate>
    <dc:creator>alestevez</dc:creator>
    <dc:date>2018-05-29T12:32:42Z</dc:date>
    <item>
      <title>How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/215689#M14</link>
      <description>&lt;P&gt;Expedition uses APACHE as a web server and PHP as module for the scripts. By default PHP allow users to upload files with a maximum size of 2M, this can be updated by changing the PHP.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo vi /etc/php/7.0/apache2/php.ini

go to line where this variable is defined

upload_max_filesize = 2M

and replace by

upload_max_filesize = 250M

&lt;/PRE&gt;
&lt;P&gt;There is another parameter within that file can be increased to allow you use the multiedit with a big amount of rules&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo vi /etc/php/7.0/apache2/php.ini

go to line where this variable is defined

post_max_size = 8M

and replace by

post_max_size = 128M&lt;/PRE&gt;
&lt;P&gt;Increase the values to those variables and restart apache for the changes take effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo systemctl restart apache2&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 May 2018 12:32:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/215689#M14</guid>
      <dc:creator>alestevez</dc:creator>
      <dc:date>2018-05-29T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/216341#M60</link>
      <description>&lt;P&gt;thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this also works in case someone does not readily know commands to use vi and for whatever reason still have not learned the hotkeys escape keys etc... (for example... me)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 250M/g' /etc/php/7.0/apache2/php.ini
sudo sed -i 's/post_max_size = 8M/post_max_size = 128M/g' /etc/php/7.0/apache2/php.ini

&lt;/PRE&gt;
&lt;P&gt;then&lt;/P&gt;
&lt;PRE&gt;sudo systemctl restart apache2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 18:48:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/216341#M60</guid>
      <dc:creator>ajr0</dc:creator>
      <dc:date>2018-06-01T18:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229483#M465</link>
      <description>Please let me know how to get to sudo command

I am not able to login to Expidition via Console in vsphere client.</description>
      <pubDate>Wed, 05 Sep 2018 07:25:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229483#M465</guid>
      <dc:creator>GauravSanghavi</dc:creator>
      <dc:date>2018-09-05T07:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229486#M466</link>
      <description>&lt;P&gt;Chapter 1 of the Admin Guide it says but i will post it here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Console:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;username: expedition&lt;/P&gt;
&lt;P&gt;password: paloalto&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using sudo if you are asked for a password is paloalto&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 07:35:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229486#M466</guid>
      <dc:creator>alestevez</dc:creator>
      <dc:date>2018-09-05T07:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229489#M467</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/11906"&gt;@alestevez&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks..got it..&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 08:09:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/229489#M467</guid>
      <dc:creator>GauravSanghavi</dc:creator>
      <dc:date>2018-09-05T08:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Upload configuration files bigger than 2MB</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/310767#M2309</link>
      <description>&lt;P&gt;Thanks, this worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 11:45:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/how-to-upload-configuration-files-bigger-than-2mb/m-p/310767#M2309</guid>
      <dc:creator>Bleeky</dc:creator>
      <dc:date>2020-02-12T11:45:12Z</dc:date>
    </item>
  </channel>
</rss>

