Coder Social home page Coder Social logo

appengine-php-extension's Introduction

Google App Engine PHP Runtime Extension

This repository contains the GAE PHP runtime extension, which enables emulation of the App Engine environment for local development.

Building

  1. Install Protocol Buffer complier on your platform, following the C++ Installation Instructions.

  2. 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
    
  3. 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
    
  4. 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.

Contributing

Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.

  1. Please sign our Contributor License Agreement.
  2. Fork this Git repository and make your changes.
  3. Create a Pull Request
  4. Incorporate review feedback to your changes.
  5. Accepted!

License

All files in this repository are under the Apache v2 unless noted otherwise.

appengine-php-extension's People

Contributors

marslangoog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.