Difference between #8 and #9 of
Yii3 - How to start

Revision #9 has been created by rackycz rackycz on Oct 8, 2025, 1:25:07 PM with the memo:

edit
« previous (#8) next (#10) »

Changes

Title unchanged

Yii3 - How to start

Category unchanged

Tutorials

Yii version unchanged

3.0

Tags unchanged

Content changed

[...]
Login, server and pwd is defined in the snippet above.

If you type "docker ps" into your host console, you should see 3 running containers: yii3api_php, yii3api_adminer, yii3api_db.

The web will be, from now on, available on URL http://localhost:9080 which is more handy than just ":80" I think.
 (Later you may run 4 different projects at the same time and all cannot run on port 80)

## Enabling MariaDB (MySQL) and migrations
[...]
Other solutions:

 
> - Locally:
> If you have Composer running locally, you can call these commands directly on your computer. (I do not recommend)
> - Docker:
> You can SSH into your docker container and call it there as Composer is installed inside.
> Find the name of the PHP container by typing "docker ps" and call:
> docker exec -it {containerName} /bin/bash
[...]
1 0
2 followers
Viewed: 583 times
Version: 3.0
Category: Tutorials
Tags:
Written by: rackycz rackycz
Last updated by: rackycz rackycz
Created on: Oct 8, 2025
Last updated: 2 days ago
Update Article

Revisions

View all history