简体   繁体   English

使用mysqli在GAE上迁移到php55

[英]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. 我们正在将现有项目从php54迁移到Google App Engine上的php54到php55,并且在使用mysqli的App Engine Launcher中收到一个错误,该错误在标准php运行时中运行时不会发生。

Using a simple mysqli connect: 使用一个简单的mysqli连接:

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

Connects just fine in the php runtime, but in the php55 runtime, we get the following error: 在php运行时中连接得很好,但是在php55运行时中,出现以下错误:

Unable to find the socket transport "unix" - did you forget to enable it when you configured PHP? 无法找到套接字传输“ unix”-在配置PHP时是否忘记启用它?

Is mysqli still supported in the php55 runtime? php55运行时仍支持mysqli吗? 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. 这是SDK 1.9.18的已知问题。 Please update to 1.9.19 and the error should go away. 请更新至1.9.19,错误应消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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