我想主持yii应用程序

我想主持yii应用程序

问题描述:

I have created yii app locally. And now I wish to upload the same. I have brought the domain, but am bit confused, as which type of hosting should I go for ?

I have options like Cpanel(Linux), Parallels Plesk for Windows, VPS and Dedicated servers on some sites.

I have developed application using Yii 1.1 and database in MySql.

Could you guys suggest me best hosting available and suitable for me to go with.(Though It should be economic. :-p) And what things should I consider, or are required while buying a hosting for my Yii application.

Edit :
I actually tried hostname/path/to/yii/requirements/index.php and It passed on my friends shared hosting, but I couldn't find proper way to install the Yii on his server space (He has an Windows hosting). Someone said I'll require an SSH to run a command ( $php /yii/framework/yiic webapp directory-where-app-will-reside ) to install yii framework on server. When called the Tech-support of his hosting agency they said youll have to go with VPS or dedicated server for SSH.

我在本地创建了 yii strong> app。 现在我希望上传相同的内容。 我带来了域名,但有点困惑,我应该选择哪种类型的托管? p>

我有 Cpanel(Linux) strong>, Parallels Plesk strong>适用于某些站点上的Windows,VPS和专用服务器。 p>

我在MySql中使用 Yii strong> 1.1 和数据库开发了应用程序。

你们可以建议我最好的托管服务并且适合我使用。(虽然它应该是经济的。: - p) 我应该考虑什么,或者在购买时需要什么 我的 Yii strong>应用程序的托管。 p>

编辑:
我实际上尝试了hostname / path / to / yii / requirements / index.php并且它已通过 在我的朋友共享托管,但我找不到正确的方法在他的服务器空间安装Yii(他有一个Windows主机)。 有人说我需要SSH来运行命令($ php / yii / framework / yiic webapp directory-where-app-will-reside)来在服务器上安装yii框架。 当他打电话给他的托管机构的技术支持时,他们说你必须使用VPS或SSH专用服务器。 p> div>

Yii applications runs on any servers/hosts that support php.

In this case you need a server or host that support mysql too.

Its related to your website traffic that choice sharing hosting or VPS.

In your application have to exists a file named requirement.php that shows Yii requirements, of course in Yii2. For Yii1:

  1. Requirements ¶ After installing Yii, you may want to verify that your server satisfies Yii's requirements. You can do so by accessing the requirement checker script via the following URL in a Web browser:

http://hostname/path/to/yii/requirements/index.php Yii requires PHP 5.1, so the server must have PHP 5.1 or above installed and available to the web server. Yii has been tested with Apache HTTP server on Windows and Linux. It may also run on other Web servers and platforms, provided PHP 5.1 is supported.

However is better your host be on LAMP platform.