For running Yii use PHP with 5.6 and PHP 7.0. For Yii Advanced and Yii basic, we've provided templates for nginx config. The main advantage of elasticweb for site owners to Yii is a high performance of your sites.
Yii is a high-performance, component-based PHP framework for rapid development of large-scale Web applications.
For sites on Yii2 you can use Elastic Node and Strong nodes.
Your application is ready to run? Run a Yii-powered Web application is divided into several stages:
1. Upload your application code on the server.
Deploy application mainly involves copying the files to a directory on the server. There are several ways to upload files, we'll look at simple (FTP). Upload your site files in the folder/domains/site.com/on the server. The following checklist contains all necessary steps:
2. Upload database dump on the server.
Application PHPMyAdmin allows you to work with databases via a browser.
With it, you can edit the contents of the databases, run SQL queries, backup and restore databases. Use MySQL-user for authorization.
3. Configure your application to run in our ecosystem.
Change the logon point file ~/domains/site.com/index.php, removing the string identifying the constant YII_DEBUG. This constant is useful during development stage because it allows Yii to display more debugging information when an error occurs. However, when the application is running in production mode, to display debugging information is a bad idea, because it may contain sensitive information, such as the location of the script file, the contents of the file, etc.
We have provided hosting already hundreds of projects. Choosing our approach to pay for hosting, payment for the used resources on the server, clients substantially save. Thanks to the resources utilized statistics developers determine the bottlenecks in their sites. Elasticweb is a reliable partner for your site.
The cost of hosting for a site on Yii framework starts from 1 ¢/day.