我需要 VPS 才能获取 CodeIgniter 和 PHP 5.3
我目前在 WAMP 上的计算机上托管我的网站,但我希望将其上线。问题是它同时使用 CodeIgniter 和 PHP 5.3。然而,它不会对开始时的交通造成太大影响。有什么方法可以让我更好地控制我的服务器(以便我可以使用 5.3 和 CI)而无需支付 VPS 费用?您会推荐哪位主持人?
I am currently hosting my site on my computer on WAMP, however I am looking to take it live. The problem is that it uses both CodeIgniter and PHP 5.3. It will not however, draw very much in the way of traffic to start. Is there some way I can get greater control of my server (so that I can use 5.3 and CI) without having to pay the expense of VPS? And which host would you recommended?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
ovh 提供了一种选择您想要的 php 版本的方法。英文页面有点假,所以我提供了法文页面:文档。
所以是的,他们让你选择你想要的 php 版本,甚至是 php6,只需更改 htaccess 文件中的值即可。我在那里有一个正在运行的 CI 站点,并且运行得很好。
所以我想这一定存在于其他地方。
ovh provides a way to select the php version you want. The english page is a little bogus, so I give the french one: documentation.
So yes, they let you choose the php version you want, even php6 by just changing a value in an htaccess file. I have a running CI site there, and it runs very well.
SO I suppose this must exists elsewhere.
我没有在共享服务器托管上运行 Codeigniter 的经验,但我不明白为什么你不能上传 CI 并在任何主机上运行它,只要它满足要求。
Codeigniter 1.7.2 仅需要 PHP 4.3.2,但当然您需要找到一个至少可以运行 PHP 5 的主机。我不会推荐任何托管公司,但如果您需要 5.3,那么您可以在网络上搜索 PHP 5.3 托管或询问公司他们正在运行什么版本。
VPS 会更贵,并且可能需要您进行一些配置。
I don't have experience running Codeigniter on shared server hosting, but I don't see any reason why you couldn't upload CI and run it on any host as long as it meets the requirements.
Codeigniter 1.7.2 only requires PHP 4.3.2, but of course you'll want to find a host that at least has the option of running PHP 5. I'm not going to recommend any hosting companies, but if you need 5.3 then you can do a web search for PHP 5.3 hosting or ask companies what versions they are running.
A VPS is going to be more expensive, and might take some configuration on your part.
DreamHost 是您更好的选择之一。
以下是如何在 dreamhost 上安装 PHP 5.3 的指南:
http://wiki.dreamhost.com/安装_PHP5#PHP_5.3
One of your better bets is DreamHost.
Here's a guide on how to install PHP 5.3 on dreamhost:
http://wiki.dreamhost.com/Installing_PHP5#PHP_5.3
One.com 非常便宜并且运行 PHP 5.3.3。他们确实有运营商服务器 - 所以这对几乎每个人来说都是很大的延迟。它们有内存限制,因为它是共享托管,并且您无法安装扩展,但除此之外,它是一项出色的服务,正常运行时间长,并且每月费用非常低。
One.com is very cheap and runs PHP 5.3.3. They do have carrier servers - so it's great latency for nearly everyone. They have memory limitations since it's shared hosting and you can't install extensions, but except for that it's a great service, great uptime and with a very low monthly cost.