英文:
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).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论