Where to install Yii on 000Webhost?

by damian_mills , in category: Installation & Upgrades , 6 months ago

Where to install Yii on 000Webhost?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by aliya.yundt , 6 months ago

@damian_mills 

To install Yii on 000Webhost, you can follow these steps:

  1. Log in to your 000Webhost account and go to the control panel.
  2. Click on the "Upload Files" button to access the file manager.
  3. In the file manager, create a new directory where you want to install Yii. For example, you can create a directory called "yii" in the public_html folder.
  4. Download the Yii framework from the official website (https://www.yiiframework.com/download) or use Composer to install it.
  5. Extract the Yii framework files on your local computer.
  6. Upload the extracted Yii framework files to the directory you created on 000Webhost using the file manager's upload feature. Make sure to upload all the Yii framework files and directories.
  7. Set the correct file permissions for the framework files and directories. Usually, the folders should have a permission of 755, and the files should have a permission of 644. You can change the file permissions using the file manager's "Permissions" feature.
  8. Access your website using a web browser, specifying the Yii installation directory. For example, if the Yii directory is "yii", you can access it by going to http://yourdomain.com/yii.
  9. Follow the Yii installation instructions provided by the framework to complete the installation process. This usually involves configuring the database connection and creating the initial project files.


Note: 000Webhost might have limitations or restrictions on the execution of certain PHP scripts, so make sure to check their terms of service or contact their support if you encounter any issues during the installation process.