Pocket HPH is a compact PHP processing engine designed to run on handheld devices.

HPH is offered as a Demo. Currently Supported:
  • a subset of core PHP functions (see initial list)
  • Objects/Arrays are always passed by reference (like PHP5) (Scalar references are not currently supported)
  • Minimal error reporting w/line numbers
  • Variables must always be defined (including those passed as reference)
  • PHP4.2.0+ superglobals grammar -- $_SERVER['DOCUMENT_ROOT'] , etc. vs. $DOCUMENT_ROOT (use extract($_POST)/etc. to replicate earlier versions of PHP)
  • NEW  SQLite3 Database Support
  • NEW  alpha fopen/file_get_contents('http://website.com/foobar') Internet protocol handler support

Ask about other features in the HPH forums

To use in a commercial application please contact us

Note: HPH is *not* a WinCE port of the Zend engine. HPH is a PHP-compatible hybrid parser/engine built from the ground-up.

Download 5.0.0.2007.09.17.HPH
Pocket HPH[1.5M]ActiveSync Installer -- for WinCE devices (ARMV4/XScale, PPC2003+)
Updated 2007-09-17
  • bugfix: relative URL requests oustide web root
  • new hph.ini option:
    listen=[IP | hostname | any]; defaults to 127.0.0.1
  • new hph.ini option:
    phps=on; defaults to off for .phps source viewing
Quick Start Guide[URL]Basic information on installing and getting started with PocketHPH
127_9000_null.cpf[1k]loopback mapper for devices w/o network cards (maps http://127.0.0.1:9000/ to loopback -- copy to device and run, ONLY if needed! read: this for more info)
CeNotepad[external]Remote Text Editor
(this utility allows Desktop editing of remote text files (including PHP scripts) residing on a mobile device)