Giter VIP home page Giter VIP logo

appengine-php's Issues

Upgrade to 5.4.30

This interpreter was the only one to correctly handle Google Cloud Storage on Linux. Is there any chance it will be updated to 5.4.30+ like the binaries shipped with the Windows and OSX SDKs?

Write a real README

What is this repo?
Why do you need this?
How to compile? Which configuration options are needed?
Do I need to compile libmcrypto?
Do I need to compile openssl?

Json_decode

If I serialize a class with private or protected variables \u0000CLASNAME\u0000 or in case of protected \u0000*\u0000 is prepended to the variable name.

json encoding this string and then decoding it on GAE php55 fails on \u0000.

example code:

class A {
    public $pub = 10;
    protected $priv = 20;
}

$a = new A();
$serialized = serialize($a);
echo "\nSERIALIZED: ".$serialized;
echo "\nJSON: ". ($json = json_encode($serialized));
echo "\nDECODE".print_r(json_decode($json),1);
echo "\n";

returns (on GAE):

SERIALIZED: O:1:"A":2:{s:3:"pub";i:10;s:7:"*priv";i:20;}
JSON: "O:1:\"A\":2:{s:3:\"pub\";i:10;s:7:\"\u0000*\u0000priv\";i:20;}"
DECODEO:1:"A":2:{s:3:"pub";i:10;s:7:"

while on my development server this works just fine:

SERIALIZED: O:1:"A":2:{s:3:"pub";i:10;s:7:"Apriv";i:20;}
JSON: "O:1:\"A\":2:{s:3:\"pub\";i:10;s:7:\"\u0000A\u0000priv\";i:20;}"
DECODEO:1:"A":2:{s:3:"pub";i:10;s:7:"Apriv";i:20;}

This is also reproducible on GoogleAppEngineLauncher (at least on OS X release: "1.9.20")

Long TTFB

Hi all,
I don't know if the Issue is correct here.

I do have problems with GCP App Engine Flexible (without any special nginx.conf). Although the App Engine is auto-scaling I do have randomly (1 out of 10) request having a very long connection / TTFB time.

Debugging is telling me, that the app code itself is performing very well (< 100ms) but TTFB is taking up to > 1s.

Is there any way to optimize this, or what could be the issue?

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.