Yii Framework Forum: Bagaimana Cara Hosting Yii Framework - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Bagaimana Cara Hosting Yii Framework hosting yii Rate Topic: -----

#1 User is offline   widya93 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-June 14

Posted 26 June 2014 - 12:02 PM

Bagaimana cara hosting yii framework?
Apa kita bisa pakai domain hostinger biasa seperti menghosting php?
0

#2 User is offline   daudtm 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 93
  • Joined: 25-April 13
  • Location:Malang

Posted 26 June 2014 - 11:15 PM

View Postwidya93, on 26 June 2014 - 12:02 PM, said:

Bagaimana cara hosting yii framework?
Apa kita bisa pakai domain hostinger biasa seperti menghosting php?


1. pastikan hostingan anda support versi PHP yg anda pakai (php 5.1 ke atas utk Yii 1.1.x atau php 5.4 untuk Yii 2.x)
2. uploadlah web app yg dibuat, kemudian upload juga frameworknya sekalian. lokasinya bisa di baca di file index.php, bagian yg seperti ini:
$yii=dirname(__FILE__).'/../../../../../../../var/www/yii-1.1.14.eb20cd1/framework/yii.php';

3. edit file index.php di hostingan, update pathnya sesuai direktori upload framework di hostingan. misal aplikasi di upload ke public_html/app dan framework ke public_html/yii/
$yii=dirname(__FILE__).'/../yii/yii.php';

4. pastikan permission direktori assets dan protected/runtime/ di web app bisa ditulis oleh web server (kalo belum ada 2 direktori itu, bikin aja lewat file manager)
0

#3 User is offline   daniel Nick 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 02-October 14

Posted 05 October 2014 - 09:41 PM

View Postdaudtm, on 26 June 2014 - 11:15 PM, said:

1. pastikan hostingan anda support versi PHP yg anda pakai (php 5.1 ke atas utk Yii 1.1.x atau php 5.4 untuk Yii 2.x)
2. uploadlah web app yg dibuat, kemudian upload juga frameworknya sekalian. lokasinya bisa di baca di file index.php, bagian yg seperti ini:
$yii=dirname(__FILE__).'/../../../../../../../var/www/yii-1.1.14.eb20cd1/framework/yii.php';

3. edit file index.php di hostingan, update pathnya sesuai direktori upload framework di hostingan. misal aplikasi di upload ke public_html/app dan framework ke public_html/yii/
$yii=dirname(__FILE__).'/../yii/yii.php';

4. pastikan permission direktori assets dan protected/runtime/ di web app bisa ditulis oleh web server (kalo belum ada 2 direktori itu, bikin aja lewat file manager)

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users