Wednesday, 8 January 2014

How to install yii php framework on ubuntu linux?

Yii helps Web developers build complex applications and deliver them on-time.
Yii is pronounced as Yee or [ji:], and is an acroynym for "Yes It Is!". This is often the accurate, and most concise response to inquires from those new to Yii:
Is it fast? ... Is it secure? ... Is it professional? ... Is it right for my next project? ... Yes, it is!

Yii is a free, open-source Web application development framework written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product.

Steps to install yii php framework on ubuntu


1. Dowanload the latest version of yii framework from http://www.yiiframework.com


2. Extract downloaded yii framework tar.gz file in same directory


3. Rename extracted folder as yii


4. Move yii folder to root directory of your webserver (opt/lampp/htdocs/yii)


5. Create a new folder as name appyii in root directory (appyii will contain yii framework files)


6. Apply yii framework to your appyii folder by yiic.php webapp file using php cli


7. Test that the installation has been done (http://127.0.0.1/appyii)


Note: if php command line interpreter not installed

PHP command line installation on Ubuntu Linux

The PHP command-line interpreter runs PHP scripts from the command line.
copy and paste the following command to your terminal
sudo apt-get install php5-cli
In the next lesson i will show you how to configure yii php framework 


13 comments:

  1. iT izza gOod post akshay pal

    i thank top10-facebook-twitter.blogspot.com for the post

    ReplyDelete
  2. usefull post :) thank you,http://www.top10-facebook-twitter.blogspot.in/

    ReplyDelete
  3. Very clearly step by step u have mentioned the installation process. thank you so much for this article.

    If you like to learn about Yii 2.0 beta version, please visit this video: www.youtube.com/watch?v=WwT6ar8nQGk

    ReplyDelete
  4. amigo estoy migrando mis servidores windows a linux y tengo problema para correr una aplicacion con el framework yii ...coloco la aplicacion en en directorio /var/www/ y tambien el framework pero a la hora de correrla en el navegador me da error ..he intrentado darle permisos de escrituras chmod 775 -R tanto al (assets) y al (runtime) pero nada d nada que corre...he revisado la ruta en el index.php pero nada

    he buscado en internet pero la informacion no me ha servido ...por los momentos lo sigo corriendo en un servidor windows server hasta q de con la solucion..

    Es para saber si me pueden dar una idea de como optimizarlo ..

    ReplyDelete
  5. que podría ser un problema de permisos que tiene que dar el permiso de lectura de escritura para la carpeta de activos. acaba de dar permiso completo a la carpeta raíz de la aplicación, así como la carpeta marco yü
    por ejemplo, si la aplicación nombre de la carpeta raíz es: sample_app y yü nombre de la carpeta marco es: yii_framework
    usuario @ host: / var / root $ R chmod 777 sample_app
    usuario @ host: / var / root $ R chmod 777 yii_framework
    mejor de las suertes

    ReplyDelete
  6. Nice blog Very useful information is providing by ur blog. find Great beginning html tutorials Very clear and helpful for beginners.

    ReplyDelete
  7. I'm a Framework developer, Your Information is very useful to me. Thank you for all your Info..!

    Yii framework development

    ReplyDelete
  8. Nice article thanks for given this information. i hope it useful to many pepole.more php jobs in hyderabad.

    ReplyDelete
  9. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingAzure Online Training

    ReplyDelete

  10. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me..I am a regular follower of your blog.
    Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from HTML5 CSS3 Javascript Online Training from India .
    or learn thru HTML5 CSS3 Javascript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. HTML5 CSS3 Javascript Online Training from India

    ReplyDelete