Information:
This is built in Symfony 3.4.21
Using php 7.0.25
Set up instructions:
So first we set up the server, you can skip whatever bits you dont need. This is sitting up an apache2 server on ubuntu with dev self signed certificates so you can use https...
ok we now have all the bits we need before we start our symfony. Pays to be prepared!
if the last two lines cause issues simply create the directories: mkdir var/logs
mkdir var/logs
mkdir var/sessions
and re run the lines last 3 lines again
In the results for ifconfig will be a ip address. usualy something like 192.168.52.XXX
so
...ens33 Link encap:Ethernet HWaddr 00:0c:29:12:de:6d
inet addr:192.168.52.131 Bc.....
the last bit may vary but the 192.168 is standard.
This is your ip for your vm box. and your development web site.
Now on your windows box (assuming your accessing a linux box on vm ware or similar for dev purposes) run notepad as administrator
(left click choose as run as administrator) then navigate to
This PC > Local Disk C: / Windows / System32 > drivers > etc
change the type of document from Text Documents to All Files
click on the file "hosts" and click open
add the ip
192.168.52.131 www.blog.rpt
on a new line and save it.
I tend to use rpt for development web sites because its readilly accepted by all browsers and very little used if at all currently.