×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Yii 2 - Checking / testing installation

Yii 2 - Checking / testing installation

Yii 2 - Checking / testing installation

(OP)
Trying out Yii 2 - Just installed it yesterday on a Ubuntu server.

How do I know or check if the installation was successful? Where are the binaries or scripts installed?

When running composer to install it, I changed directory to /var/www/html which is the default root directory of the fresh Ubuntu LAMP install.

I chose the ADVANCED instead of the BASIC and so, if I go to 10.0.0.55/advanced I do get a directory listing but I am not sure that this means all is well and complete.

The lack of 1, 2, 3, ... is frustrating ... but cannot complaint when so much is given and all is free. winky smile

Your assistance will be, as always, greatly appreciated!

--
SouthBeach
http://www.fpgroups.com
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.

RE: Yii 2 - Checking / testing installation

I'd suggest taking a look ay Yii's own manual. Seems quite complete and thorough.

http://www.yiiframework.com/doc-2.0/guide-start-in...

There a section there titled: Verifying the Installation

Also:
http://www.yiiframework.com/doc-2.0/guide-start-wo...

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech

RE: Yii 2 - Checking / testing installation

(OP)
there are no index.php files anywhere in the directory tree
there are no obvious anything anywhere in the directory tree

I have searched up/down and every where trying to follow guides and they all make "assumptions" none of which make sense (at least not to me).

For example, I followed a guide to install that suggested I moved to my web home directory and then use composer to install; I did exactly that and nothing else from there can be associated to the resulting install.

I get a directory named "advanced" and within this directory

CODE

drwxr-xr-x  9 root root  4096 Oct 25 15:37 .
drwxr-xr-x  3 root root  4096 Oct 25 15:31 ..
drwxr-xr-x  9 root root  4096 Oct 25 15:31 backend
-rw-r--r--  1 root root    37 Oct 25 15:31 .bowerrc
drwxr-xr-x  6 root root  4096 Oct 25 15:31 common
-rw-r--r--  1 root root  1160 Oct 25 15:31 composer.json
-rw-r--r--  1 root root 32056 Oct 25 15:37 composer.lock
drwxr-xr-x  7 root root  4096 Oct 25 15:31 console
drwxr-xr-x  4 root root  4096 Oct 25 15:31 environments
drwxr-xr-x  9 root root  4096 Oct 25 15:31 frontend
-rw-r--r--  1 root root   394 Oct 25 15:31 .gitignore
-rw-r--r--  1 root root  6402 Oct 25 15:31 init
-rw-r--r--  1 root root   511 Oct 25 15:31 init.bat
-rw-r--r--  1 root root  1622 Oct 25 15:31 LICENSE.md
-rw-r--r--  1 root root  2820 Oct 25 15:31 README.md
-rw-r--r--  1 root root  5051 Oct 25 15:31 requirements.php
drwxr-xr-x  3 root root  4096 Oct 25 15:31 tests
drwxr-xr-x 11 root root  4096 Oct 25 15:37 vendor
-rw-r--r--  1 root root   515 Oct 25 15:31 yii.bat 

The read me file can only make sense if you know what you're looking for but not to someone that has "never" worked with any framework (such as myself).

The link you point me to suggests to load index.php and there are none!

--
SouthBeach
http://www.fpgroups.com
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.

RE: Yii 2 - Checking / testing installation

(OP)
Well, I just ran

CODE

sudo composer create-project --prefer-dist yiisoft/yii2-app-basic basic 

and index.php is there - Not the case when "advanced" was opted. I had opted for advanced since the "need" of a future project seem the better choice. Moving on and see how far I get!

Thanks,

--
SouthBeach
http://www.fpgroups.com
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close