<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Karn Yongsiriwit</title>
    <description>The latest articles on DEV Community by Karn Yongsiriwit (@karnyong).</description>
    <link>https://dev.to/karnyong</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4258264%2F606cb390-90e5-449b-83da-03aa751ae5fe.jpg</url>
      <title>DEV Community: Karn Yongsiriwit</title>
      <link>https://dev.to/karnyong</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/karnyong"/>
    <language>en</language>
    <item>
      <title>I built CAMPP, a portable local web stack that needs no admin rights</title>
      <dc:creator>Karn Yongsiriwit</dc:creator>
      <pubDate>Sun, 22 Nov 2026 04:48:04 +0000</pubDate>
      <link>https://dev.to/karnyong/i-built-campp-a-portable-local-web-stack-that-needs-no-admin-rights-bge</link>
      <guid>https://dev.to/karnyong/i-built-campp-a-portable-local-web-stack-that-needs-no-admin-rights-bge</guid>
      <description>&lt;p&gt;Setting up a local PHP environment should take minutes, but on a locked-down lab PC, a work laptop without admin rights, or a fresh Linux install, it often turns into an afternoon of installers, PATH edits and port conflicts.&lt;/p&gt;

&lt;p&gt;I wanted something I could hand to anyone, on any OS, that just works. So I built &lt;strong&gt;CAMPP&lt;/strong&gt;: a free, open-source desktop app that runs a full local web stack from a single folder.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1xide3iazry4xm2l0zyl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1xide3iazry4xm2l0zyl.png" alt="CAMPP dashboard" width="799" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in the box
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Options&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Web server&lt;/td&gt;
&lt;td&gt;Caddy 2.11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PHP&lt;/td&gt;
&lt;td&gt;8.5, 8.4, 8.3, 8.2 (plus 7.4 on Windows)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MySQL, MariaDB or PostgreSQL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DB tools&lt;/td&gt;
&lt;td&gt;phpMyAdmin, Adminer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Extras&lt;/td&gt;
&lt;td&gt;Composer, ngrok tunnels (Windows)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You pick versions and components in a setup wizard, and you can add, reinstall or remove them later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The ideas behind it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;No admin rights, ever.&lt;/strong&gt; CAMPP uses non-default ports (web 8080, MySQL 3307, PostgreSQL 5433), so it never needs elevated permissions and doesn't clash with anything already on the machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-contained.&lt;/strong&gt; Every binary, config file, database and project lives in CAMPP's own folder. Nothing is installed system-wide: no system PHP, no global PATH changes, no background services. Remove the folder and it's gone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Small download.&lt;/strong&gt; The app is built with &lt;a href="https://tauri.app" rel="noopener noreferrer"&gt;Tauri&lt;/a&gt; (a Rust backend with a React UI), so the download is about 6 MB. The PHP and database binaries you choose are downloaded on first run. For classrooms or offline machines, there's also a portable zip with everything bundled.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PHP on the command line, without the mess.&lt;/strong&gt; "Open terminal" opens a shell in your projects folder where &lt;code&gt;php&lt;/code&gt; and &lt;code&gt;composer&lt;/code&gt; point at CAMPP's versions, for that window only.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other things it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Start, stop and restart each service on its own, or all at once&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LAN mode&lt;/strong&gt; to open your local site from a phone on the same network&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backup and restore&lt;/strong&gt;: projects plus all database data in one zip&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ngrok tunnels&lt;/strong&gt; (Windows) to share a local site at a public URL, handy for webhooks and demos&lt;/li&gt;
&lt;li&gt;Change ports in Settings, a debug page with port checks and copyable diagnostics, plus light and dark themes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Under the hood
&lt;/h2&gt;

&lt;p&gt;For the curious:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Rust backend&lt;/strong&gt; spawns and supervises each service process. Config files (Caddyfile, php.ini, my.ini) are generated from Mustache templates, so changing a port in Settings just regenerates them.&lt;/li&gt;
&lt;li&gt;Runtime versions, download URLs and &lt;strong&gt;SHA256 checksums&lt;/strong&gt; live in one JSON file (&lt;code&gt;runtime-config.json&lt;/code&gt;). Every download is verified before it's extracted, and you can audit exactly what the app fetches.&lt;/li&gt;
&lt;li&gt;CAMPP only uses the network to download the components you choose (and to run ngrok, if you start it). Nothing else is sent anywhere.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&gt;: download the installer or portable zip from &lt;a href="https://github.com/KarnYong/campp/releases/latest" rel="noopener noreferrer"&gt;GitHub Releases&lt;/a&gt;, or use Scoop:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;scoop bucket add campp https://github.com/KarnYong/campp
scoop install campp/campp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;(The Windows installers aren't code-signed yet, so SmartScreen may warn. Click &lt;strong&gt;More info → Run anyway&lt;/strong&gt;, or use Scoop, which avoids the warning.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;macOS&lt;/strong&gt;: the universal DMG works on Apple Silicon and Intel, and it's signed and notarized.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;: choose a &lt;code&gt;.deb&lt;/code&gt;, &lt;code&gt;.rpm&lt;/code&gt;, AppImage or portable tarball:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install ./CAMPP-&amp;lt;version&amp;gt;-amd64.deb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Then open CAMPP, follow the wizard, click &lt;strong&gt;Start all&lt;/strong&gt;, put your files in the projects folder and browse to &lt;code&gt;http://localhost:8080&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback welcome
&lt;/h2&gt;

&lt;p&gt;CAMPP is MIT-licensed and I'm actively working on it. If you try it, I'd love to hear what works, what breaks, and what you'd want next. Open an issue or leave a comment below.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/KarnYong/campp" rel="noopener noreferrer"&gt;https://github.com/KarnYong/campp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Website: &lt;a href="https://campp.melivecode.com" rel="noopener noreferrer"&gt;https://campp.melivecode.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If it's useful to you, a ⭐ on GitHub helps more people find it.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>php</category>
      <category>tools</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
