[Begginer] How To Create First Application On Server ?

Hi, I’m new here, so please don’t be mad at me :slight_smile:

Yesterday I heard about Yii… And I want to try it.

How to create first application on server ?

I read this article:

http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app

but it says how to create application locally on my computer.

I don’t have MySql, Php and Appache locally installed.

I prefer to do everything about web programming on server.

So, how to create first application on server ?

You don’t have to describe it, just give me link or something

Thank You !!!

Actually this article is about installing anywhere, not only on local computer. You just have to read it more closely.

Then I’ve got the problem :wink:

I use filezilla.

I go to yii/framework and type yiic webapp myapp

and it’s a “500 Unknown command”

Obviously I am doing something "very wrong"…

Filezilla is not a server, it’s a FTP client.

What you can do is install XAMPP, it contains everything you need PHP/Mysql/PHPmyadmin etc then you can make your own webapp. Thefiles generated + the framework you can upload using Filezilla to your server.

Guessing you’ve someone hosting you website and not direct access to the server with Remote desktop for example.

I would suggest you to setup your local development environment first and develop the app locally and then deploy it

Mac has

MAMP

Windows has

xamp

wamp

linux has

xamp

and obviously you can install all of them from source

I can be too much of a newbie.

I set up yii on my xammpp and I can access and run the example app no problem

However the tutorial as documented as it might be

starts with

"Run yiic on the command line as follows:

% YiiRoot/framework/yiic webapp WebRoot/testdrive"

I tried this on window’s command line, and it just did nothing.

What’s the use of doing this? executing a sample app? I do not have a “testdrive” dir.

That leaves me stuck with how to follow http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app

and what i’m missing if I can’t seem to get the command line bid right.

I guess the quickstart is too quick for me.

On another note. I CAN see the code within the demos and file structure and the like. But I would need explanation to better understand the logic.

I found cake php documentantion an codeigniter documentation much clearer in these first steps.

nevertheless I would like to try this out.