yaml_parse_file in Google app engine

34 views
Skip to first unread message

Ram kumar

unread,
Apr 26, 2016, 4:38:53 AM4/26/16
to Google App Engine
 Hello guys

  i am using a PHP Framework hosted in Google app engine need to use yaml parser so how to use PHP  [ yaml_parse_file ] in google app engine.

 PECL Extension is needed to Integrate ?
 if that is please guide me to intergrate it.

Nick (Cloud Platform Support)

unread,
Apr 26, 2016, 12:23:29 PM4/26/16
to Google App Engine
Hey Ram,

I believe you're referring to the yaml extension of PHP, found at PECL. The documentation for the App Engine PHP runtime shows which extensions are enabled by default and which are dynamically-loadable. The yaml extension is not among these, so it's not available on App Engine as it is.

However you could search online for pure PHP yaml parsers which you could use. I found one on github after a quick google, but don't consider this an "endorsement", you'll need to evaluate yourself whether it fits your needs, and this library is not in any way the responsibility of Google. It's a fork of this other library (same qualifications apply).

I hope this has been helpful in thinking about what libraries are available as extensions, and which need to be included along with your app during upload as pure-PHP resources. Let me know if you have any further questions!

Regards,

Nick
Cloud Platform Community Support
Reply all
Reply to author
Forward
0 new messages