Localhost Web Server: Run PHP

Contains adsIn-app purchases
Content rating
Everyone
1K+
Downloads
Content rating
Everyone
Learn more
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this app

Run PHP, host a website and move files over Wi-Fi from your phone or tablet. HostPilot is a localhost web server with PHP 8.4, SQLite and a code editor built in. No laptop, no cloud, no account.

RUN PHP ON YOUR PHONE
• Type or paste PHP, tap Run, and read the output and any errors right away
• PHP 8.4 runs on the device and works offline — no internet needed
• Open any .php file from your folders and run it
• Turn a script into a page: serve it from your localhost and open it in any browser
• Starters to learn from: a JSON REST API and a guestbook, both backed by SQLite

WIFI FILE TRANSFER
• Tap Transfer files over WiFi and open the address shown on your computer, laptop or TV browser
• Pick files on your phone to share, and download them on the computer
• Upload files from the computer to your phone from the same browser page
• Nothing to install on the computer — any web browser on the same Wi-Fi works
• Scan the QR code instead of typing an IP; a PIN keeps others on the network out
• Only the files you share are visible, and only while transfer is on

A WEB SERVER THAT KEEPS RUNNING
The server runs as an Android foreground service with a persistent notification, so it stays up while you use other apps or the screen is off. A guided checklist walks you through the battery settings that matter on your device, and a live uptime counter shows how long it has been serving.

PHP AND SQL ON LOCALHOST
• SQLite databases stored on the device, created for you on first run
• A visual SQL console in the browser: run queries, browse tables, edit rows, import and export
• Connect out to MySQL or MariaDB with the built-in client
• Run it localhost-only, or as a LAN server other devices can open

CODE EDITOR
Edit the files you are serving without leaving the app: syntax highlighting for PHP, HTML, CSS, JavaScript, SQL, JSON, YAML and Markdown, with undo and redo, find and replace, and version history so a save is never final. Large files open in a paged viewer.

MORE THINGS IT CAN BE
• Static website host — HTML, CSS, JavaScript, images and video from a folder
• File Drop — share a link and collect files from anyone on your network
• Request Inspector — point a webhook or form at your phone and watch each request arrive
• Database console — browse and query SQL from any browser on your Wi-Fi

DEVELOPER TOOLS
• Live access log — every request with method, path, status code and client IP
• CORS headers, SPA fallback, custom 404, gzip, cache control and live reload on file change
• Range requests for video, correct MIME types, HEAD support and UTF-8 file names
• Directory listing toggle and a QR code of your server URL

PRIVATE BY DESIGN
HostPilot asks only for the folders you choose — scoped storage, not the all-files permission. Nothing is uploaded to us. Your files and databases stay on your device and are served over your own network, only while you have the server or transfer switched on.

WHO IT IS FOR
• PHP learners and students who want to run code without a laptop
• Web developers previewing a site on a real phone or sharing it over Wi-Fi
• Anyone moving photos, videos or documents between phone and computer without a cable
• Makers hosting a dashboard, docs or a small API from a spare Android device

FREE, WITH AN OPTIONAL PRO UPGRADE
The free version includes the server and its reliability tools, the uptime counter, QR sharing, the live access log, the editor, Run PHP, two-way WiFi file transfer, File Drop and the Request Inspector, and shows ads. Pro removes ads and adds the database console beyond its free runs, unlimited saved PHP scripts, full inbox history, password protection, browser upload to your sites, custom port and network mode, and unlimited sites. Pro is a subscription or a one-time lifetime unlock.

Available in 26 languages.
Run PHP and a localhost web server. Code editor, WiFi file transfer and SQLite.
Updated on
Oct 27, 2026

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
  • No data shared with third parties
    Learn more about how developers declare sharing
  • This app may collect these data types
    Device or other IDs
  • Data isn’t encrypted
  • Data can’t be deleted

What’s new

• Run PHP: write or open a .php file and run it on your phone, offline
• WiFi file transfer: move files between your phone and a computer's browser, protected by a PIN
• Start your first site in one tap
• Stability improvements