<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>PHP — LowEndSpirit</title>
        <link>https://lowendspirit.com/index.php?p=/</link>
        <pubDate>Wed, 03 Jun 2026 22:43:34 +0000</pubDate>
        <language>en</language>
            <description>PHP — LowEndSpirit</description>
    <atom:link href="https://lowendspirit.com/index.php?p=/discussions/tagged/php/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>My Idlers - Self hosted web app for your servers, shared hosting and domains information</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/2449/my-idlers-self-hosted-web-app-for-your-servers-shared-hosting-and-domains-information</link>
        <pubDate>Thu, 21 Jan 2021 00:45:08 +0000</pubDate>
        <category>General</category>
        <dc:creator>corbpie</dc:creator>
        <guid isPermaLink="false">2449@/index.php?p=/discussions</guid>
        <description><![CDATA[<p><a rel="nofollow" href="https://github.com/cp6/my-idlers" title="My Idlers">My Idlers</a> is a web app for displaying, organizing and storing information about servers (VPS), shared hosting and domains.</p>

<p>Despite what the name infers this self-hosted web app isn't just for storing idling server information. By using a <a rel="nofollow" href="https://github.com/masonr/yet-another-bench-script" title="YABs">YABs</a> output you can get disk &amp; network speed values along with GeekBench 5 scores to do easier comparing and sorting.</p>

<p><a rel="nofollow" href="https://github.com/cp6/my-idlers/releases/tag/1.3" title="Version 1.3">Version 1.3</a> 31st Jan 2021</p>

<p><strong><a rel="nofollow" href="https://myidlers.srv3r.com/" title="Sample page">Sample page (Add/Edit/Update/Delete disabled)</a></strong></p>

<p><strong><a rel="nofollow" href="https://github.com/cp6/my-idlers" title="GitHub repo">GitHub repo</a></strong></p>

<p><strong><a rel="nofollow" href="https://github.com/cp6/my-idlers#install" title="Install instructions">Install instructions</a></strong></p>

<p><strong><a rel="nofollow" href="https://github.com/cp6/my-idlers#notes" title="Notes">Notes</a></strong></p>

<p><strong>Features</strong></p>

<pre><code>Add servers
Add shared hosting
Add domains
Auto suggest locations
Auto suggest providers
Auto get IP's from hostname
Check up/down status
Get YABs data from output
Save &amp; view YABs output
Next due date system
Multi currency compatibility
Multi payment-term compatibility
Pre-defined operating systems
Assign tags
Assign labels
Assign server type (KVM, OVZ, LXC &amp; dedi)
Easy to edit values
Order by table
Search items
Tally/stats card
One-page design
</code></pre>

<p><strong>Screenshots</strong><br />
<a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-cards.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-cards.jpg" alt="My idlers screenshot1" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-table.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-table.jpg" alt="My idlers screenshot2" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-more-modal.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-more-modal.jpg" alt="My idlers screenshot3" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-edit-modal.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-edit-modal.jpg" alt="My idlers screenshot4" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-order-servers.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-order-servers.jpg" alt="My idlers screenshot5" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-search.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-search.jpg" alt="My idlers screenshot6" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-summary-card.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-summary-card.jpg" alt="My idlers screenshot7" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-compare-two-servers.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-compare-two-servers.jpg" alt="My idlers screenshot8" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-add-server-from-yabs.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-add-server-from-yabs.jpg" alt="My idlers screenshot9" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-add-shared-hosting.jpg"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/02/my-idlers-self-hosted-server-info-add-shared-hosting.jpg" alt="My idlers screenshot10" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-auto-location.gif"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-auto-location.gif" alt="Auto complete location" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-auto-provider.gif"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-auto-provider.gif" alt="Auto complete provider" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-ips-from-hostname.gif"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-ips-from-hostname.gif" alt="Auto complete IP's" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-ping-up-feature.gif"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-ping-up-feature.gif" alt="Get up/down status" /></a></p>

<p><a rel="nofollow" href="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-table-view.gif"><img src="https://cdn.write.corbpie.com/wp-content/uploads/2021/01/my-idlers-self-hosted-server-domain-information-table-view.gif" alt="Table scrolling x" /></a></p>
]]>
        </description>
    </item>
    <item>
        <title>Monitor website uptime</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/6126/monitor-website-uptime</link>
        <pubDate>Wed, 05 Jul 2023 13:51:21 +0000</pubDate>
        <category>Help</category>
        <dc:creator>somik</dc:creator>
        <guid isPermaLink="false">6126@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>So here's the situation.</p>

<p>I was using a custom script to monitor my server's uptime. It would monitor the ports listed and send me a message on Telegram (using bot API) if any of those goes down or comes back online.</p>

<p>Up until recently, it was mostly working fine until I updated the script, upon which the script stopped working partially. It will monitor uptime but no longer send me notifications if something goes offline or comes back online. It still sends notifications regarding the health status.</p>

<p>Ah, did I mention that I deleted the original backup (that I made before the modification) from the server during a previous cleanup? Anyway, I do not have enough time to fix the script and was looking for a simple opensource script/project that can do the same.</p>

<h2>Requirements:</h2>

<ol>
<li>Monitor uptime for ports and websites</li>
<li>Send message via telegram if something goes down or comes back up</li>
<li>Send a daily telegram message with the uptime status + monitor duration</li>
<li>(optional) Monitor latency</li>
<li>(optional) Does not require docker or nodejs</li>
<li>(optional) PHP or python based script</li>
</ol>

<p>If you guys know of such a project/script, do let me know.</p>

<p>PS. I am NOT looking for a public service that does the same, unless I can self host it. Many of the servers that require monitoring are on local network without publicly open ports and I would like to keep it the same.</p>

<p><br /></p>

<hr />

<p><br /></p>

<p><strong>For those who do not have time to read the full thread, here are the scripts being discussed here:</strong></p>

<p><a href="https://lowendspirit.com/index.php?p=/profile/msatt" rel="nofollow">@msatt</a> recommended: <a href="https://github.com/louislam/uptime-kuma/wiki" rel="nofollow">https://github.com/louislam/uptime-kuma/wiki</a></p>

<p><a href="https://lowendspirit.com/index.php?p=/profile/Asim" rel="nofollow">@Asim</a> recommended: <a href="https://hub.docker.com/r/jasonrivers/nagios" rel="nofollow">https://hub.docker.com/r/jasonrivers/nagios</a></p>

<p><a href="https://lowendspirit.com/index.php?p=/profile/Mason" rel="nofollow">@Mason</a> recommended: <a href="https://www.librenms.org/" rel="nofollow">https://www.librenms.org/</a> | <a href="https://github.com/librenms/librenms" rel="nofollow">https://github.com/librenms/librenms</a></p>

<p><a href="https://lowendspirit.com/index.php?p=/profile/AuroraZero" rel="nofollow">@AuroraZero</a> recommended: <a href="https://github.com/bderenzo/tinystatus" rel="nofollow">https://github.com/bderenzo/tinystatus</a></p>

<p><a href="https://lowendspirit.com/index.php?p=/profile/iandk" rel="nofollow">@iandk</a>'s custom solution: <a href="https://github.com/iandk/pymon" rel="nofollow">https://github.com/iandk/pymon</a></p>
]]>
        </description>
    </item>
    <item>
        <title>PHP ZipArchive list archive contents</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/5243/php-ziparchive-list-archive-contents</link>
        <pubDate>Wed, 11 Jan 2023 12:53:09 +0000</pubDate>
        <category>Help</category>
        <dc:creator>legendary</dc:creator>
        <guid isPermaLink="false">5243@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I have wp.zip and would like to list only one level of files/folders. My current code:</p>

<pre><code>$zip = new \ZipArchive();
$zip-&gt;open('wp.zip'), \ZipArchive::RDONLY);

for ($i = 0; $i &lt; $zip-&gt;numFiles; $i++) {
 $stat = $zip-&gt;statIndex($i);
 echo $stat['name'] . ' ';
}
</code></pre>

<p>This code spits out entire list of files recursively.</p>

<p>I need only first level, like this:</p>

<blockquote><div>
  <p>wp-admin/ <br />
  wp-content/ <br />
  index.php <br />
  config.php <br />
  &lt;...&gt;</p>
</div></blockquote>

<p>What's the best approach to achieve my goal?</p>
]]>
        </description>
    </item>
    <item>
        <title>Vanilla plugin/mod - help with necro posting</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/4063/vanilla-plugin-mod-help-with-necro-posting</link>
        <pubDate>Sat, 16 Apr 2022 09:55:45 +0000</pubDate>
        <category>Help</category>
        <dc:creator>mikho</dc:creator>
        <guid isPermaLink="false">4063@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hello!</p>

<p>Looking at you who code avery now and then.</p>

<p>Real case for this community.</p>

<p>A vanilla plugin/mod that will show a notification when a user is trying to reply to a thread where the last reply is X days/weeks/month old.</p>

<p>Please describe in short how you would solve it and your price for it. <br />
When you start the project, we expect you to deliver shortly thereafter. <br />
No thank you to those who reply with ”I’ll do it when there I have some free time”</p>

<p>Example: notification as a dialog box or above the textbox.</p>

<p>Before or after the reply button is pressed.</p>

<p>Code will be published on the LES github.</p>
]]>
        </description>
    </item>
    <item>
        <title>PHP7.3 EOL</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/3609/php7-3-eol</link>
        <pubDate>Tue, 07 Dec 2021 00:02:49 +0000</pubDate>
        <category>General</category>
        <dc:creator>vyas</dc:creator>
        <guid isPermaLink="false">3609@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Edited, updated the post as a FYI. <br />
PHP7.3 EOLs on December 6, 2021:  <a href="https://www.php.net/eol.php" rel="nofollow">https://www.php.net/eol.php</a></p>
]]>
        </description>
    </item>
    <item>
        <title>PHP Source code compromised</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/2723/php-source-code-compromised</link>
        <pubDate>Mon, 29 Mar 2021 19:36:06 +0000</pubDate>
        <category>Industry News</category>
        <dc:creator>Hxxx</dc:creator>
        <guid isPermaLink="false">2723@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Strange that important news such as this one are not being shared on these green* communities. <br />
I can't stand the other forum with the same providers always trending at the top, so I'll share here.</p>

<p>So the news, PHP source code / internal GIT apparently was compromised and a few malicious commits were done impersonating some important recognized developers.</p>

<p>They decided to discard their internal GIT server and move the source code to Github.</p>

<p>There is more to this news  so you might want to read about it from other sources.</p>

<p>Source: google it.</p>
]]>
        </description>
    </item>
    <item>
        <title>DirectAdmin + OpenLiteSpeed. PHP running out of memory</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/2560/directadmin-openlitespeed-php-running-out-of-memory</link>
        <pubDate>Wed, 17 Feb 2021 17:07:42 +0000</pubDate>
        <category>Help</category>
        <dc:creator>imok</dc:creator>
        <guid isPermaLink="false">2560@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hello.</p>

<p>I'm getting this errors despite I've increased PHP's memory_limit:</p>

<p><code>PHP Fatal error:  Out of memory (allocated 10485760) (tried to allocate 40960 bytes) in...</code></p>

<p>Server has enough memory.</p>

<p>I'm running DA + OLS + PHP 7.4 + MariaDB. Wordpress with OLS Cache.</p>

<p>I've read about <a rel="nofollow" href="https://docs.litespeedtech.com/cp/cpanel/503-error/" title="soft and hard memory limit for OLS">soft and hard memory limit</a>, but documentation says panel is read-only.</p>
]]>
        </description>
    </item>
    <item>
        <title>Lazy fellow's guide to running Lighty+PHP+MySQL/MariaDB on a small NAT VPS</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/573/lazy-fellows-guide-to-running-lighty-php-mysql-mariadb-on-a-small-nat-vps</link>
        <pubDate>Mon, 03 Feb 2020 11:33:12 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>flips</dc:creator>
        <guid isPermaLink="false">573@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Excuse me if being too lazy, I've been trying to get up to speed on tuning LightHTTPD, PHP-FPM and MariaDB to  work well on a small NAT VPS (specifically 256 MB RAM no swap in my case). But there seems to be quite some reading and testing to do.  <img src="https://lowendspirit.com/plugins/emojiextender/emoji/twitter/open_mouth.png" title=":o" alt=":o" height="18" /></p>

<p>I think I got Lighty tuned pretty well, though probably not optimal. For PHP I only followed some guide and it works, no idea if I should tune it to be nice resource wise somehow.<br />
But reading about tuning MariaDB/MySQL, it strikes me as quite complex, and I'm bound to miss some points I should consider.</p>

<p>So, I'm boldly asking if someone here might have a nice cheatsheet/fitting template to share here?  <img src="https://lowendspirit.com/plugins/emojiextender/emoji/twitter/grimace.png" title=":#" alt=":#" height="18" /></p>

<p>(I'm running this on Debian 10 ATM, also considering Alpine to free up more resources.)</p>
]]>
        </description>
    </item>
   </channel>
</rss>
