Name: appengine-php-extension
Owner: Google Cloud Platform
Description: null
Created: 2015-10-27 17:21:46.0
Updated: 2018-01-22 18:46:30.0
Pushed: 2016-05-12 21:26:51.0
Homepage: null
Size: 55
Language: C++
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains the GAE PHP runtime extension, which enables emulation of the App Engine environment for local development.
Install Protocol Buffer complier on your platform, following the C++ Installation Instructions.
Generate C++ source and header files for remote_api.proto and urlfetch_service.proto.
protoc --cpp_out=. remote_api.proto
protoc --cpp_out=. urlfetch_service.proto
Familiarize yourself with the PHP extension building process, and run the following commands. Set <include_path>
and <lib_path>
to the absolute path to the protobuf headers and libraries installed in the previous step, usually /usr/local/include
and /usr/local/lib
.
phpize
./configure --enable-gae --with-protobuf_inc=<include_path> --with-protobuf_lib=<lib_path>
make
The compiled extension can be found in modules/gae_runtime_module.so
. Use the --php_gae_extension_path
flag to load the extension when running the development server.
Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.
All files in this repository are under the Apache v2 unless noted otherwise.