In order to make embedding PHP truly simple for all of our developers (and indeed the world) we developed this PHPEmbed library which is just a more accessible and simplified API built on top of the PHP SAPI.
Release 20080324
Source, .tar.gz format
PHPEmbed is released under a modified BSD License. You can also get the latest source code from the public svn repository.
Overview
Building services that accesses production databases and cache creates a potentially troublesome requirement that developers on both the service and the client codebase synchronize their efforts in the event of any changes to database schemas or cache keys. In a fast paced development environment such interdependency can easily lead to development slowdowns (at best) or data corruption (at worst). We wrote this simple wrapper around the PHP Server API In order to allow services writtin in C++ to more easily leverage existing data access patterns and seamlessly adopt new changes without needing to be recompiled or redoployed.
Besides downloading the source code, there are two easy ways to learn more about PHPEmbed:
- Visit the PHPEmbed Developers Group
- Read the PHPEmbed manual in PDF or HTML
PHPEmbed was developed primarily for use with News Feed, but has since been used in several other applications.
Requirements
If you can build PHP you should be able to build PHPEmbed. You can download PHP and check out its requirements at php.net.