Hello,
It appears that GAE PHP build "May 1 2017 18:43:30" has a number of extensions enabled that were not previously enabled in PHP build "Jan 31 2017 14:27:34" and are now causing issues with a number of our applications.
Specifically, build "May 1 2017 18:43:30" has the cURL, fileinfo, ImageMagick, intl, Mongo extensions enabled. The issues encountered are:
- The cURL extension uses the Sockets service, which requires billing to be enabled.
- We are using Guzzle to issue HTTP requests. When cURL is not enabled, Guzzle uses stream wrappers which do not require billing to be enabled. Now Guzzle is using cURL, which required billing to be enabled.
- The ImageMagick extension has trouble writing to temp files:
Type: ImagickException
Code: 1
Message: WriteBlob Failed `vfs://root/temp/cpdf_img_591b98f4295cc8.03160068.png' @ error/png.c/MagickPNGErrorHandler/1630
File: /base/data/home/apps/s~XXX/20170510t171048.401159684017036369/vendor/dompdf/dompdf/lib/Cpdf.php
Line: 4413
Below is the output of `php_uname` and `get_loaded_extensions` for 2 versions of GAE PHP for comparison. Any help would be greatly appreciated.
Geoff.
```
string(107) "Linux unknown 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux"
array(49) {
[0]=>
string(4) "Core"
[1]=>
string(18) "GAE Runtime Module"
[2]=>
string(5) "OAuth"
[3]=>
string(3) "PDO"
[4]=>
string(10) "Reflection"
[5]=>
string(3) "SPL"
[6]=>
string(9) "SimpleXML"
[7]=>
string(12) "Zend OPcache"
[8]=>
string(3) "apc"
[9]=>
string(4) "apcu"
[10]=>
string(6) "bcmath"
[11]=>
string(8) "calendar"
[12]=>
string(5) "ctype"
[13]=>
string(4) "date"
[14]=>
string(3) "dom"
[15]=>
string(4) "ereg"
[16]=>
string(4) "exif"
[17]=>
string(6) "filter"
[18]=>
string(3) "ftp"
[19]=>
string(2) "gd"
[20]=>
string(31) "google_cloud_sql_mysqlnd_plugin"
[21]=>
string(4) "hash"
[22]=>
string(5) "iconv"
[23]=>
string(4) "json"
[24]=>
string(6) "libxml"
[25]=>
string(9) "mailparse"
[26]=>
string(8) "mbstring"
[27]=>
string(6) "mcrypt"
[28]=>
string(8) "memcache"
[29]=>
string(9) "memcached"
[30]=>
string(5) "mysql"
[31]=>
string(6) "mysqli"
[32]=>
string(7) "mysqlnd"
[33]=>
string(7) "openssl"
[34]=>
string(4) "pcre"
[35]=>
string(9) "pdo_mysql"
[36]=>
string(7) "session"
[37]=>
string(5) "shmop"
[38]=>
string(4) "soap"
[39]=>
string(7) "sockets"
[40]=>
string(8) "standard"
[41]=>
string(9) "tokenizer"
[42]=>
string(30) "urlfetch_stream_wrapper_plugin"
[43]=>
string(3) "xml"
[44]=>
string(9) "xmlreader"
[45]=>
string(9) "xmlwriter"
[46]=>
string(3) "xsl"
[47]=>
string(3) "zip"
[48]=>
string(4) "zlib"
}
```
```
string(112) "Linux unknown 4.4.0-66-generic #87~14.04.1-Ubuntu SMP Fri Mar 3 17:32:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"
array(54) {
[0]=>
string(4) "Core"
[1]=>
string(18) "GAE Runtime Module"
[2]=>
string(5) "OAuth"
[3]=>
string(3) "PDO"
[4]=>
string(10) "Reflection"
[5]=>
string(3) "SPL"
[6]=>
string(9) "SimpleXML"
[7]=>
string(12) "Zend OPcache"
[8]=>
string(3) "apc"
[9]=>
string(4) "apcu"
[10]=>
string(6) "bcmath"
[11]=>
string(8) "calendar"
[12]=>
string(5) "ctype"
[13]=>
string(4) "curl"
[14]=>
string(4) "date"
[15]=>
string(3) "dom"
[16]=>
string(4) "ereg"
[17]=>
string(4) "exif"
[18]=>
string(8) "fileinfo"
[19]=>
string(6) "filter"
[20]=>
string(3) "ftp"
[21]=>
string(2) "gd"
[22]=>
string(31) "google_cloud_sql_mysqlnd_plugin"
[23]=>
string(4) "hash"
[24]=>
string(5) "iconv"
[25]=>
string(7) "imagick"
[26]=>
string(4) "intl"
[27]=>
string(4) "json"
[28]=>
string(6) "libxml"
[29]=>
string(9) "mailparse"
[30]=>
string(8) "mbstring"
[31]=>
string(6) "mcrypt"
[32]=>
string(8) "memcache"
[33]=>
string(9) "memcached"
[34]=>
string(5) "mongo"
[35]=>
string(5) "mysql"
[36]=>
string(6) "mysqli"
[37]=>
string(7) "mysqlnd"
[38]=>
string(7) "openssl"
[39]=>
string(4) "pcre"
[40]=>
string(9) "pdo_mysql"
[41]=>
string(7) "session"
[42]=>
string(5) "shmop"
[43]=>
string(4) "soap"
[44]=>
string(7) "sockets"
[45]=>
string(8) "standard"
[46]=>
string(9) "tokenizer"
[47]=>
string(30) "urlfetch_stream_wrapper_plugin"
[48]=>
string(3) "xml"
[49]=>
string(9) "xmlreader"
[50]=>
string(9) "xmlwriter"
[51]=>
string(3) "xsl"
[52]=>
string(3) "zip"
[53]=>
string(4) "zlib"
}
```