I am studying Yii framework in my android phone. I have an application called AndroPHP. It has a LightHttpd, MySql and PHP.
I can run CodeIgniter, Wordpress and Smarty in my phone but I don't have an idea how can I install a Yii framework. I searched in the Internet I can't find any correct solution.
I tried to install it using the yiic webapp in my android terminal emulator. And my error is
sh: yiic: not found
I have a YII framework extracted in sdcard/www/YII/
And I used the yiic in the framework folder.
To access the yiic I have this path:
root#android:/storage/sdcard0/www/YII/framework#
And to use the yiic I have this
yiic webapp sdcard0/www/bid
where bid is my folder under www
Any idea how can I install this framework? Or any android application that has a tutorial in installing Yii. Ok that's all thanks.
use ./yiic webapp sdcard0/www/bid you should use ./ since current directory is not included in path.
Related
I am trying to install Symfony, but unable to find how can we start with symfony with Xampp. I have already tried on google but there is no proper solution for installation and configuration of Symfony.
As I want to edit a project which is already developed using symfony CMS.
Symfony is not a CMS.
If you need to run a symfony app locally, all you have to do is to copy all files into a project subdirectory inside your Xampp (for example htdocs/symfony).
I assume existing project will have a database, so be sure to import your database locally or use external database. You need to tweak your symfony config file: http://symfony.com/doc/current/configuration.html
I am trying to install Symfony, but unable to find how can we start with >symfony with Xampp. I have already tried on google but there is no proper >solution for installation and configuration of Symfony.
As I want to edit a project which is already developed using symfony CMS.
Hi, for begin Symfony is not a CMS but a framework ^^, it's a little bit (alot) different.
For install Symfony WHY use google O_o ----> http://symfony.com/doc/current/setup.html
After, why Xampp ? for windows use Wamp who do the local server it's more performing :/
And if you want you don't have necessary to install symfony if it's an existing project -> just clone it (if he is on github) ... and just open the complete folder with your IDE or text editor.
You can modify the file without problems, (just you can have a prob for use command php bin/console.
Good luck i hope it's answering all you questions :)
yiic webapp D:\wamp\www\test
sh.exe": yiic: command not found
yii webapp D:\wamp\www\test
Error: Unknown command "webapp".
You don't need yiic for installing Yii2 see the getting started guide for all the information you need . You can install really easly with composer
http://www.yiiframework.com/doc-2.0/guide-start-installation.html
Use init command in yii2
C:\xampp\htdocs\advanced>init
Yii Application Initialization Tool v1.0
Which environment do you want the application to be initialized in?
[0] Development
[1] Production
Your choice [0-1, or "q" to quit]
Can anyone explain how I can get Composer working in Google App Engine (PHP)? I understand what composer is and how it works but I have no idea on how to get it onto my App Engine.
You need to run composer locally, and then upload the entire application that has been build by composer to production using the appcfg command.
So I downloaded a yii archive then extracted it into my xampp htdocs folder.
I wanted to create a new app but tutorials show to use yiic when creating new webapps. The problem is no yiic is found, and even in the directory, I do not see any yiic file to execute the program.
Should there be a yiic.bat?
I download Yii version 2.0 for the latest framework.
I also tried creating via Yii version 1.6 and the command worked.
The problem is i cant find yiic on 2.0.
Please run init command after installing YII from composer
sudo php init
It will ask for setting the environment, for beginning select "Development"
I wanted to try the appFog free plan to tryout my application I developed in Yii,I checked the jumpstart on appFog section that says that Yii applications are now supported by appFog
However I have checked all the documentations about framework, only drupal and wordpress were available, I searched all over the internet but I couldn't find the best docs for it
Then I decided to try to upload both Yii framework folder and my application and include an index.php file that includes the myapplication/index.php file, which seemed to be a nice try but some assest and other classes in yii are configured to look for yii framework in the root directory causing my application to crash with Yii error but not php error
If anyone has already tried or know where I can find a nice tutorial about Yii on appfog, I would really appreciate that.
I was able to deploy a test app without doing anything tricky:
Create a new php APP on AWS US East infrastruture from the appfog console
Download the latest Yii tarball and extract it to a FOLDER
Create test application:
$ cd FOLDER/framework
$ ./yiic webapp ../testdrive
Push the changes:
$ af update APP
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (71K): OK
Push Status: OK
Stopping Application 'APP': OK
Staging Application 'APP': OK
Starting Application 'APP': OK
Open http://APP.aws.af.cm/testdrive/ in browser:
Welcome to My Web Application
Congratulations! You have successfully created your Yii application.