PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, March 8, 2022

[FIXED] I want to host yii application

 March 08, 2022     hosting, mysql, php, yii     No comments   

Issue

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.


Solution

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.



Answered By - msoa
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing