Where to install Yii on 000Webhost?

by damian_mills , in category: Installation & Upgrades , a year ago

Where to install Yii on 000Webhost?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by aliya.yundt , a year 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.

Member

by cecelia , 6 months ago

@damian_mills 

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

  1. Log in to your 000Webhost account and access the control panel.
  2. Go to the "File Manager" section.
  3. Create a new directory where you want to install Yii. For example, you can create a directory named "Yii" in the public_html folder.
  4. Download Yii 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. Ensure all Yii framework files and directories are uploaded.
  7. Set the correct file permissions for the framework files and directories. Folders typically have 755 permissions, and files have 644 permissions. You can adjust permissions using the File Manager's "Permissions" feature.
  8. Access your website through a web browser, specifying the Yii installation directory. For instance, if the Yii directory is "Yii", access it via http://yourdomain.com/Yii.
  9. Follow the Yii installation instructions to complete the configuration, including establishing the database connection and creating the initial project files.


Remember that 000Webhost may have specific restrictions or configurations related to executing certain PHP scripts, so ensure compliance with their terms of service or reach out to their support if you encounter any installation issues.