This is the source code for the PHP interpreter that is included in the Google App Engine SDK.
googlecloudplatform / appengine-php Goto Github PK
View Code? Open in Web Editor NEWSource for the Google App Engine PHP interpreter
Source for the Google App Engine PHP interpreter
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?
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?
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")
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?
Seems like it is very out of sync with reality?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.