MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 1 as of 2014-07-03 20:38:42
  • PHP
  • Yii

Yii

Yii is a high-performance PHP framework best for developing Web 2.0 applications.

http://www.yiiframework.com/

Slackware installation

  • cd ~/Downloads
  • wget https://github.com/yiisoft/yii/releases/download/1.1.15/yii-1.1.15.022a51.tar.gz

  • cp yii-1.1.15.022a51.tar.gz /vars/www/htdocs
  • cd /vars/www/htdocs
  • tar xvzf yii-1.1.15.022a51.tar.gz
  • cd yii-1.1.15.022a51
  • chown apache * -R
  • chmod 755 /etc/rc.d/rc.httpd
  • vim /etc/httpd/httpd.conf

   Include /etc/httpd/mod_php.conf  # enable the php module
  • vim /etc/httpd/vhosts.conf

<VirtualHost *:80>
    ServerName localhostyii
    DocumentRoot "/var/www/htdocs/yii-1.1.15.022a51"
    <Directory "/var/www/htdocs/yii-1.1.15.022a51">
      Require local
    </Directory>
</VirtualHost>
  • vim /etc/hosts

127.0.0.1 localhostyii 

  • vim /etc/httpd/php.ini

date.timezone="Europe/Lisbon"
  • /etc/rc.d/rc.httpd start
  • Open URL http://localhostyii/demos/blog/index.php

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01