简体   繁体   中英

Migrate to php55 on GAE using mysqli

We're migrating an existing project from php54 to php55 on Google App Engine, and we getting an error in our App Engine Launcher with mysqli that does not occur when running in the standard php runtime.

Using a simple mysqli connect:

$connection = new mysqli('user','pass','localhost','mydatabase');

Connects just fine in the php runtime, but in the php55 runtime, we get the following error:

Unable to find the socket transport "unix" - did you forget to enable it when you configured PHP?

Is mysqli still supported in the php55 runtime? If so, what do we need to change to get this working?

Any help would be greatly appreciated!

Thanks

This is a known issue of SDK 1.9.18. Please update to 1.9.19 and the error should go away.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM