snipt

Ctrl+h for KB shortcuts

PHP

Increase PHP memory limit from a Wordpress installation

1
2
3
4
5
<?php
// Add the following line to wp-config.php and change '128M' as yo need it
// Useful for hostings providers like godaddy, bluehost, dreamhost

define('WP_MEMORY_LIMIT', '128M');
https://snipt.net/embed/6b7605e3843153b31dcd798f6fa951e6/
/raw/6b7605e3843153b31dcd798f6fa951e6/
6b7605e3843153b31dcd798f6fa951e6
php
PHP
6
2019-08-22T20:58:29
True
False
False
/api/public/snipt/108714/
increase-php-memory-limit-from-a-wordpress-installation
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="c1">// Add the following line to wp-config.php and change &#39;128M&#39; as yo need it</span> </span><span id="L-3"><a name="L-3"></a><span class="c1">// Useful for hostings providers like godaddy, bluehost, dreamhost</span> </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a><span class="nb">define</span><span class="p">(</span><span class="s1">&#39;WP_MEMORY_LIMIT&#39;</span><span class="p">,</span> <span class="s1">&#39;128M&#39;</span><span class="p">);</span> </span></pre></div> </td></tr></table>
bluehost, dreamhost, godaddy, memory, php, wordpress

HTML

Dreamhost Donation

<!-- Help a brotha out! -->
<a href="http://www.dreamhost.com/donate.cgi?id=13185"><img border="0" alt="Donate towards my web hosting bill!" src="https://secure.newdream.net/donate1.gif" /></a>
https://snipt.net/embed/d6d461f84f3d91aec049279efe22f198/
/raw/d6d461f84f3d91aec049279efe22f198/
d6d461f84f3d91aec049279efe22f198
html
HTML
2
2019-08-22T12:38:11
True
False
False
/api/public/snipt/14591/
dreamhost-donation
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">&lt;!-- Help a brotha out! --&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">&quot;http://www.dreamhost.com/donate.cgi?id=13185&quot;</span><span class="p">&gt;&lt;</span><span class="nt">img</span> <span class="na">border</span><span class="o">=</span><span class="s">&quot;0&quot;</span> <span class="na">alt</span><span class="o">=</span><span class="s">&quot;Donate towards my web hosting bill!&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;https://secure.newdream.net/donate1.gif&quot;</span> <span class="p">/&gt;&lt;/</span><span class="nt">a</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
dreamhost