- make sure you have php 5.3+: run
php -v
- Download phpmyadmin (github or main website)
- In the root directory, copy
config.sample.inc.php
>config.inc.php
- Edit config.inc.php, set
$cfg['Servers'][$i]['host']
to the ip address of your mysql server (probably localhost or 127.0.0.1) - In the root phpmyadmin directory run
php -S localhost:8080
- open in your browser: http://localhost:8080
- log in by entering some valid credentials (a user you added or the root user)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http; | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name domain.com.br; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass http://127.0.0.1:8181; |