After upgrading App Engine from PHP 5.5 tot 7.2/7.3 "glob()" no longer works, any way to get it to work?

46 views
Skip to first unread message

Mike Hergaarden

unread,
Dec 16, 2019, 6:14:52 PM12/16/19
to Google App Engine

After upgrading App Engine from the PHP 5.5 runtime to PHP 7.2 or PHP 7.3 the PHP function glob (https://www.php.net/manual/en/function.glob.php) no longer works and this is a big problem for our systems.
We used to search in the Cloud Storage files a lot, glob was very quick, but using the Google Cloud Storage PHP API directly only gives my a prefix to filter fields and yields much slower searches (resulting in timeouts).

Is there any way to get glob() working on App Engine PHP 7.3?

Elliott (Cloud Platform Support)

unread,
Dec 19, 2019, 10:57:14 PM12/19/19
to Google App Engine
Hello Mike,

Can you include an example of how you used glob() in your previous code? Maybe a member of this group can offer an alternative.

Reply all
Reply to author
Forward
0 new messages