在PHP脚本中加载不同版本的SQLite是否可能?

huangapple go评论112阅读模式
英文:

Is it possible to load a different version of SQLite in a PHP script?

问题

我的网络托管商正在运行一个非常旧的SQLite版本,由于我在一个共享服务器上,无法更新它,而他们也不会仅为我更新它。

是否可以通过PHP脚本为我的脚本加载不同的版本?

我尝试使用默认的SQLite版本运行PHP脚本,但它不起作用。

英文:

My webhoster is running a very old version of SQLite and since I am on a shared server, I can't update it and they will not update it for just me.

Is it possible via a PHP script to load a different version just for my script?

I Tried to run the PHP script with the default SQLite version and it doesn't work.

答案1

得分: 1

除非你的主机提供者是个业余爱好者,否则对于你的“我能否加载外来二进制文件”的回答很可能是“不行”,原因有很多,包括安全性和服务器稳定性。与他们联系并询问他们是否可以为你升级,如果他们不愿意,可以考虑迁移到其他地方或开始使用VPS(如果你可以管理它)。

英文:

Unless your hoster is an amateur the answer to your "can I side load alien binaries" is most likely "no", for many reasons, incl. security and server stability. Contact them and ask if they can upgrade it for you and if they won't - migrate elsewhere or start using i.e. VPS (if you can administer it).

huangapple
  • 本文由 发表于 2023年7月18日 03:58:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/76707721.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定